From 531c9c19e3f711b9718bd36e3fdcaf84a51a92ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mancilla?= Date: Thu, 18 Nov 2021 12:58:09 -0300 Subject: [PATCH] proj: fix build on Hydra Tests need access to writable home directory. Also make the temporary directory (as searched by the tests) writable, for completeness, although those tests seem to exit early when they cannot write to the temporary directory without reaching an assert (and thus without failing). Fixes #146358 --- pkgs/development/libraries/proj/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/proj/default.nix b/pkgs/development/libraries/proj/default.nix index 134532308c88..7ab64cf59c57 100644 --- a/pkgs/development/libraries/proj/default.nix +++ b/pkgs/development/libraries/proj/default.nix @@ -42,6 +42,11 @@ stdenv.mkDerivation rec { "-DRUN_NETWORK_DEPENDENT_TESTS=OFF" ]; + preCheck = '' + export HOME=$TMPDIR + export TMP=$TMPDIR + ''; + doCheck = true; meta = with lib; {