mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
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
@ -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 New Issue
Block a user