singularity: rewrite path to cp in bootstrap script

This commit is contained in:
scalavision 2019-02-05 20:12:28 +00:00 committed by Dmitry Kalinkin
parent bea326e8de
commit f08b99c42f

View File

@ -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" ];