gnu: restic: Fix build phase.

* gnu/packages/backup.scm (restic)[arguments]: Set "HOME" environment variable
in build phase.
master
Oleg Pykhalov 2018-11-13 15:03:15 +03:00
parent 6018683683
commit 155956449a
No known key found for this signature in database
GPG Key ID: 167F8EA5001AFA9C
1 changed files with 1 additions and 0 deletions

View File

@ -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