3
0
Fork 0
forked from mirrors/nixpkgs

util-linux: fix path to umount in eject

This commit is contained in:
Linus Heckemann 2017-04-20 08:38:55 +01:00
parent 8b09dea578
commit 7e34a9c397

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace include/pathnames.h \
--replace "/bin/login" "${shadow}/bin/login"
substituteInPlace sys-utils/eject.c \
--replace "/bin/umount" "$out/bin/umount"
'';
crossAttrs = {