mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
singularity: prepatch path to cp in 3.2.1
This commit is contained in:
parent
b09407a573
commit
3ce3e75946
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue