Merge pull request #25056 from lheckemann/fix-eject-umount

util-linux: fix path to umount in eject
This commit is contained in:
Jörg Thalheim
2017-04-20 17:06:36 +02:00
committed by GitHub

View File

@@ -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 = {