From 6ba6a1c103ea94f2c9a984db466c3b2829e8f175 Mon Sep 17 00:00:00 2001 From: Jesse Gibbons Date: Sat, 16 Nov 2019 18:33:05 -0700 Subject: gnu: python-hy: Set HOME to /tmp before install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes . * gnu/packages/python-xyz.scm (python-hy)[arguments]: Add custom 'set-HOME phase before the 'install phase. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d2786e4826..5b8b33b87f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8745,6 +8745,9 @@ with a new public API, and RPython support.") (arguments '(#:phases (modify-phases %standard-phases + (add-before 'install 'set-HOME + (lambda _ + (setenv "HOME" "/tmp"))) (replace 'check (lambda _ ;; Tests require write access to HOME. -- cgit v1.2.3