3
0
Fork 0
forked from mirrors/nixpkgs

util-linux: use $bin output for umount

This wasn’t updated when adding the bin output.
This commit is contained in:
Matthew Bauer 2020-02-29 12:43:41 -05:00 committed by Frederik Rietdijk
parent 188c3a4d03
commit 8d72e6bd5f

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
substituteInPlace include/pathnames.h \
--replace "/bin/login" "${shadow}/bin/login"
substituteInPlace sys-utils/eject.c \
--replace "/bin/umount" "$out/bin/umount"
--replace "/bin/umount" "$bin/bin/umount"
'';
# !!! It would be better to obtain the path to the mount helpers