gnu: aws-vault: Fix buld.

* gnu/packages/golang.scm (aws-vault) [arguments] <phases>: Add
'set-home.

Change-Id: Ie546c1ec0647afc2f562e4bcf5f463aeab43caf6
This commit is contained in:
Sharlatan Hellseher 2024-12-30 14:07:31 +00:00
parent 5c38a27116
commit 4fe00fc528
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4799,7 +4799,12 @@ (define-public aws-vault
(copy-file "bash/aws-vault.bash"
(string-append bash-completion-dir "/aws-vault"))
(copy-file "fish/aws-vault.fish"
(string-append fish-completion-dir "/aws-vault.fish")))))))))
(string-append fish-completion-dir "/aws-vault.fish"))))))
;; aws-vault: error: add: mkdir /homeless-shelter: permission
;; denied.
(add-before 'check 'set-home
(lambda _
(setenv "HOME" "/tmp"))))))
(native-inputs
(list go-github-com-99designs-keyring
go-github-com-alecthomas-kingpin-v2