forked from mirrors/nixpkgs
util-linux: fix path to umount in eject
This commit is contained in:
parent
8b09dea578
commit
7e34a9c397
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue