sharlatan pushed a commit to branch go-team
in repository guix.

commit a71dacfc9b4e50d0fbab618b78974b0064388e21
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Dec 30 14:07:31 2024 +0000

    gnu: aws-vault: Fix buld.
    
    * gnu/packages/golang.scm (aws-vault) [arguments] <phases>: Add
    'set-home.
    
    Change-Id: Ie546c1ec0647afc2f562e4bcf5f463aeab43caf6
---
 gnu/packages/golang.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 520704e191..aeeeb0ca82 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4799,7 +4799,12 @@ dependencies and a simple API.")
                   (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

Reply via email to