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 = ''
|
postPatch = ''
|
||||||
substituteInPlace include/pathnames.h \
|
substituteInPlace include/pathnames.h \
|
||||||
--replace "/bin/login" "${shadow}/bin/login"
|
--replace "/bin/login" "${shadow}/bin/login"
|
||||||
|
substituteInPlace sys-utils/eject.c \
|
||||||
|
--replace "/bin/umount" "$out/bin/umount"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user