glasgow: fix tests on darwin

This commit is contained in:
Serge Bazanski 2023-09-27 11:02:46 +02:00 committed by Austin Seipp
parent d2aef1a145
commit 4d011cb112

View File

@ -58,7 +58,10 @@ python3.pkgs.buildPythonApplication rec {
checkPhase = ''
# tests attempt to cache bitstreams
# for linux:
export XDG_CACHE_HOME=$TMPDIR
# for darwin:
export HOME=$TMPDIR
${python3.interpreter} -W ignore::DeprecationWarning test.py
'';