aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-10-24 19:09:35 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-10-24 19:09:35 +0000
commit238f47c76f278f06978e812928c34d143b3111a0 (patch)
tree5752a41df7d6d2aa658017c246c1ea64586bef6d
parent1d01043a4f214e4492a6abe054e99c61a11d6de9 (diff)
downloadguix-238f47c76f278f06978e812928c34d143b3111a0.tar
guix-238f47c76f278f06978e812928c34d143b3111a0.tar.gz
gnu: macs: Fix build by setting HOME.
* gnu/packages/bioinformatics.scm (macs)[arguments]: Add build phase to set HOME variable.
-rw-r--r--gnu/packages/bioinformatics.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 822f35635f..714aec6d4a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4878,6 +4878,8 @@ experiments.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-before 'build 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp")))
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?