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
This commit is contained in:
parent
57a7c5de18
commit
531c9c19e3
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@ stdenv.mkDerivation rec {
|
|||
"-DRUN_NETWORK_DEPENDENT_TESTS=OFF"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
export TMP=$TMPDIR
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue