From 169637aaec27b46d0f5916cc4ab545eed28e893c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 30 Oct 2020 21:26:35 +0100 Subject: [PATCH] xmlsec: fix build in darwin sandbox, make tests (more) reproducible --- pkgs/development/libraries/xmlsec/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/xmlsec/default.nix b/pkgs/development/libraries/xmlsec/default.nix index 18ee99804d3c..6d310443e70c 100644 --- a/pkgs/development/libraries/xmlsec/default.nix +++ b/pkgs/development/libraries/xmlsec/default.nix @@ -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