util-linux: use $bin output for umount

This wasn’t updated when adding the bin output.
gstqt5
Matthew Bauer 2020-02-29 12:43:41 -05:00 committed by Frederik Rietdijk
parent 188c3a4d03
commit 8d72e6bd5f
1 changed files with 1 additions and 1 deletions

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