xmlsec: fix build in darwin sandbox, make tests (more) reproducible

This commit is contained in:
Sandro Jäckel 2020-10-30 21:26:35 +01:00
parent 3bff81a7fb
commit 169637aaec
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -32,6 +32,11 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
doCheck = true;
checkInputs = [ nss_3_53.tools ];
preCheck = ''
substituteInPlace tests/testrun.sh \
--replace 'timestamp=`date +%Y%m%d_%H%M%S`' 'timestamp=19700101_000000' \
--replace 'TMPFOLDER=/tmp' '$(mktemp -d)'
'';
# enable deprecated soap headers required by lasso
# https://dev.entrouvert.org/issues/18771