From b89a5b221046432501e51db804a29eae3564ca9b Mon Sep 17 00:00:00 2001 From: 0xABAB <0xABAB@users.noreply.github.com> Date: Thu, 6 Jul 2017 20:43:22 +0200 Subject: [PATCH] nfs-utils: Replace reference to /bin/true --- pkgs/os-specific/linux/nfs-utils/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/nfs-utils/default.nix b/pkgs/os-specific/linux/nfs-utils/default.nix index 0db6c4ec67ef..2e410fec561d 100644 --- a/pkgs/os-specific/linux/nfs-utils/default.nix +++ b/pkgs/os-specific/linux/nfs-utils/default.nix @@ -39,6 +39,9 @@ in stdenv.mkDerivation rec { sed -i "s,^PATH=.*,PATH=$out/bin:${statdPath}," utils/statd/start-statd configureFlags="--with-start-statd=$out/bin/start-statd $configureFlags" + + substituteInPlace systemd/nfs-utils.service \ + --replace "/bin/true" "${coreutils}/bin/true" substituteInPlace utils/mount/Makefile.in \ --replace "chmod 4511" "chmod 0511"