gnu: restic: Fix build phase.
* gnu/packages/backup.scm (restic)[arguments]: Set "HOME" environment variable in build phase.
This commit is contained in:
		
							parent
							
								
									6018683683
								
							
						
					
					
						commit
						155956449a
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Reference in a new issue