summary refs log tree commit diff
path: root/gnu/packages/backup.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-11-13 15:03:15 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-11-13 15:03:15 +0300
commit155956449af6d42cdf739b0922b34bdaae639aa7 (patch)
tree76495767fc1bf80dc1c4cbe800f21a7bce2513b5 /gnu/packages/backup.scm
parent6018683683ac49765ee0eda4cb09606f1d3689fe (diff)
downloadguix-155956449af6d42cdf739b0922b34bdaae639aa7.tar.gz
gnu: restic: Fix build phase.
* gnu/packages/backup.scm (restic)[arguments]: Set "HOME" environment variable
in build phase.
Diffstat (limited to 'gnu/packages/backup.scm')
-rw-r--r--gnu/packages/backup.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index ab95aea727..c927a14673 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