Merge pull request #25056 from lheckemann/fix-eject-umount
util-linux: fix path to umount in eject
This commit is contained in:
commit
7c75ef8714
@ -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