From 4a111b7e0796d89831a85d65fba4220c51b579b8 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 7 Jan 2022 11:57:48 +0100 Subject: [PATCH] python-pep-adapter: Fix build for current guix. Current guix added a phase "sanity-check" which tries to import the packages. Thus $HOME needs to be set. --- pEp/nightly.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pEp/nightly.scm b/pEp/nightly.scm index 6d974b4..f22b056 100644 --- a/pEp/nightly.scm +++ b/pEp/nightly.scm @@ -262,7 +262,10 @@ ENGINE_INC_PATH=~a/include ((" wheel( *>= [0-9.]*)?") "")) (substitute* "pyproject.toml" (("\"wheel( *>=.*)?\",?") "")) - #t))))) + #t)) + (add-before 'check 'set-HOME + (lambda _ + (setenv "HOME" "/tmp")))))) (native-inputs `(("git", git) ;; due to setuptools_scm ("python-pytest" ,python-pytest)