From 4d011cb112133dfcb1bcc3a07a9768b5f60702bc Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Wed, 27 Sep 2023 11:02:46 +0200 Subject: [PATCH] glasgow: fix tests on darwin --- pkgs/tools/misc/glasgow/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/misc/glasgow/default.nix b/pkgs/tools/misc/glasgow/default.nix index 693660667ea7..2718fc49689f 100644 --- a/pkgs/tools/misc/glasgow/default.nix +++ b/pkgs/tools/misc/glasgow/default.nix @@ -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 '';