systemd: Look for fsck.* in the right place

Fixes #2464.
This commit is contained in:
Eelco Dolstra
2014-05-01 14:32:58 +02:00
parent 5d5bc8a037
commit cb45ecad34
2 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
"--with-tty-gid=3" # tty in NixOS has gid 3
"--disable-networkd" # enable/use eventually
"--enable-compat-libs" # get rid of this eventually
"--disable-tests"
];
preConfigure =
@@ -59,7 +60,6 @@ stdenv.mkDerivation rec {
--replace /bin/umount ${utillinux}/bin/umount \
--replace /sbin/swapon ${utillinux}/sbin/swapon \
--replace /sbin/swapoff ${utillinux}/sbin/swapoff \
--replace /sbin/fsck ${utillinux}/sbin/fsck \
--replace /bin/echo ${coreutils}/bin/echo \
--replace /bin/cat ${coreutils}/bin/cat \
--replace /sbin/sulogin ${sysvtools}/sbin/sulogin \