From 155956449af6d42cdf739b0922b34bdaae639aa7 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Tue, 13 Nov 2018 15:03:15 +0300 Subject: [PATCH] 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 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 -- 2.20.1