mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
util-linux: fix path to umount in eject
This commit is contained in:
parent
8b09dea578
commit
7e34a9c397
1 changed files with 2 additions and 0 deletions
|
@ -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