Merge pull request #8175 from wizeman/u/zfs-fix-rm

zfs: Fix systemd warning
This commit is contained in:
Eelco Dolstra 2015-06-04 17:43:32 +02:00
commit 08d4e4ce18

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, utillinux, nukeReferences
{ stdenv, fetchFromGitHub, autoreconfHook, utillinux, nukeReferences, coreutils
, configFile ? "all"
# Userspace dependencies
@ -46,7 +46,8 @@ stdenv.mkDerivation rec {
substituteInPlace ./etc/zfs/Makefile.am --replace "\$(sysconfdir)" "$out/etc"
substituteInPlace ./cmd/zed/Makefile.am --replace "\$(sysconfdir)" "$out/etc"
substituteInPlace ./module/Makefile.in --replace "/bin/cp" "cp"
substituteInPlace ./etc/systemd/system/zfs-share.service.in \
--replace "@bindir@/rm " "${coreutils}/bin/rm "
./autogen.sh
'';