diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2018-11-13 15:03:15 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-11-13 15:03:15 +0300 |
commit | 155956449af6d42cdf739b0922b34bdaae639aa7 (patch) | |
tree | 76495767fc1bf80dc1c4cbe800f21a7bce2513b5 | |
parent | 6018683683ac49765ee0eda4cb09606f1d3689fe (diff) | |
download | guix-155956449af6d42cdf739b0922b34bdaae639aa7.tar.gz |
gnu: restic: Fix build phase.
* gnu/packages/backup.scm (restic)[arguments]: Set "HOME" environment variable in build phase.
-rw-r--r-- | gnu/packages/backup.scm | 1 |
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 |