diff options
author | scalavision <scalavison@gmail.com> | 2019-08-25 18:31:17 +0000 |
---|---|---|
committer | scalavision <scalavison@gmail.com> | 2019-08-25 18:31:17 +0000 |
commit | 3ce3e759462acd6afec66fff55d216ac08730b63 (patch) | |
tree | 9a34d04acb4d21568f741244737b27cc1e2caf57 | |
parent | b09407a57346f80ea50fc31311c8ff62f1bea992 (diff) |
singularity: prepatch path to cp in 3.2.1
-rw-r--r-- | pkgs/applications/virtualization/singularity/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/singularity/default.nix b/pkgs/applications/virtualization/singularity/default.nix index 8ec9ec6c8b49..e146086b5549 100644 --- a/pkgs/applications/virtualization/singularity/default.nix +++ b/pkgs/applications/virtualization/singularity/default.nix @@ -31,6 +31,11 @@ buildGoPackage rec { nativeBuildInputs = [ removeReferencesTo utillinux which makeWrapper ]; propagatedBuildInputs = [ coreutils squashfsTools ]; + prePatch = '' + substituteInPlace internal/pkg/build/copy/copy.go \ + --replace /bin/cp ${coreutils}/bin/cp + ''; + postConfigure = '' cd go/src/github.com/sylabs/singularity |