From f08b99c42f02a99ac3fa580d4bd38781bcf7b309 Mon Sep 17 00:00:00 2001 From: scalavision Date: Tue, 5 Feb 2019 20:12:28 +0000 Subject: [PATCH] singularity: rewrite path to cp in bootstrap script --- pkgs/applications/virtualization/singularity/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/virtualization/singularity/default.nix b/pkgs/applications/virtualization/singularity/default.nix index f56c15d0b99c..985f46ed9607 100644 --- a/pkgs/applications/virtualization/singularity/default.nix +++ b/pkgs/applications/virtualization/singularity/default.nix @@ -28,6 +28,8 @@ stdenv.mkDerivation rec { preConfigure = '' sed -i 's/-static//g' src/Makefile.am patchShebangs . + substituteInPlace libexec/bootstrap-scripts/deffile-sections.sh \ + --replace /bin/cp ${coreutils}/bin/cp ''; configureFlags = [ "--localstatedir=/var" ];