[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: restic: Fix build phase.
From: |
Oleg Pykhalov |
Subject: |
01/01: gnu: restic: Fix build phase. |
Date: |
Tue, 13 Nov 2018 07:07:10 -0500 (EST) |
wigust pushed a commit to branch master
in repository guix.
commit 155956449af6d42cdf739b0922b34bdaae639aa7
Author: Oleg Pykhalov <address@hidden>
Date: Tue Nov 13 15:03:15 2018 +0300
gnu: restic: Fix build phase.
* gnu/packages/backup.scm (restic)[arguments]: Set "HOME" environment
variable
in build phase.
---
gnu/packages/backup.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index ab95aea..c927a14 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -887,6 +887,7 @@ is like a time machine for your data. ")
,version)
;; Disable 'restic self-update'. It makes little sense in Guix.
(substitute* "build.go" (("selfupdate") ""))
+ (setenv "HOME" (getcwd)) ; for $HOME/.cache/go-build
(invoke "go" "run" "build.go"))))
(replace 'check