singularity: prepatch path to cp in 3.2.1
This commit is contained in:
parent
b09407a573
commit
3ce3e75946
@ -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 New Issue
Block a user