diff options
author | Sebastián Mancilla <smancill@smancill.dev> | 2021-11-18 12:58:09 -0300 |
---|---|---|
committer | Sebastián Mancilla <smancill@smancill.dev> | 2021-11-18 13:03:10 -0300 |
commit | 531c9c19e3f711b9718bd36e3fdcaf84a51a92ed (patch) | |
tree | c296f580a2994e976c0a92a44fb5c80e5b398841 /pkgs/development/libraries/proj | |
parent | 57a7c5de18f9ec98ddffb3b81e1b1b4c4f7ac36b (diff) |
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
Diffstat (limited to 'pkgs/development/libraries/proj')
-rw-r--r-- | pkgs/development/libraries/proj/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/proj/default.nix b/pkgs/development/libraries/proj/default.nix index 134532308c882..7ab64cf59c578 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; { |