[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71023] [PATCH 5/9] gnu: chezmoi: Update go version.
From: |
Luis Higino |
Subject: |
[bug#71023] [PATCH 5/9] gnu: chezmoi: Update go version. |
Date: |
Sat, 18 May 2024 01:11:54 +0000 |
* gnu/packages/configuration-management.scm (chezmoi): Update go version.
Change-Id: Iac2d344a4b48fc9296528bee84a59598ff45c61b
---
gnu/packages/configuration-management.scm | 67 ++++++++++++-----------
1 file changed, 35 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/configuration-management.scm
b/gnu/packages/configuration-management.scm
index de27f50e0c..d67db49e7a 100644
--- a/gnu/packages/configuration-management.scm
+++ b/gnu/packages/configuration-management.scm
@@ -18,6 +18,7 @@
(define-module (gnu packages configuration-management)
#:use-module (gnu packages)
+ #:use-module (guix gexp)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module (gnu packages golang)
@@ -45,38 +46,40 @@ (define-public chezmoi
"0ildvlq7v8vnw74y4fgnv3hpq49bpl6zh1wmakfh46crwg7ffmjb"))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/twpayne/chezmoi"
- #:install-source? #f
- #:phases
- (modify-phases %standard-phases
- ;; Remove test script which expect additional user's programs available
- ;; in the PATH. The testdata directory is removed in the latest version
- ;; (2.46.1) of the program.
- (add-after 'unpack 'remove-failing-test-scripts
- (lambda* (#:key import-path #:allow-other-keys)
- (for-each (lambda (f)
- (delete-file (string-append "src/" import-path
"/testdata/scripts/" f)))
- '("bitwarden.txt"
- "cd.txt"
- "cd_unix.txt"
- "completion.txt"
- "diff.txt"
- "edit.txt"
- "editconfig.txt"
- "git.txt"
- "gopass.txt"
- "keepassxc.txt"
- "lastpass.txt"
- "onepassword.txt"
- "pass.txt"
- "runscriptdir_unix.txt"
- "script_unix.txt"
- "secretgeneric.txt"
- "secretgopass.txt"
- "secretkeepassxc.txt"
- "secretlastpass.txt"
- "secretonepassword.txt"
- "secretpass.txt")))))))
+ (list
+ #:go go-1.18
+ #:import-path "github.com/twpayne/chezmoi"
+ #:install-source? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Remove test script which expect additional user's programs available
+ ;; in the PATH. The testdata directory is removed in the latest version
+ ;; (2.46.1) of the program.
+ (add-after 'unpack 'remove-failing-test-scripts
+ (lambda* (#:key import-path #:allow-other-keys)
+ (for-each (lambda (f)
+ (delete-file (string-append "src/" import-path
"/testdata/scripts/" f)))
+ '("bitwarden.txt"
+ "cd.txt"
+ "cd_unix.txt"
+ "completion.txt"
+ "diff.txt"
+ "edit.txt"
+ "editconfig.txt"
+ "git.txt"
+ "gopass.txt"
+ "keepassxc.txt"
+ "lastpass.txt"
+ "onepassword.txt"
+ "pass.txt"
+ "runscriptdir_unix.txt"
+ "script_unix.txt"
+ "secretgeneric.txt"
+ "secretgopass.txt"
+ "secretkeepassxc.txt"
+ "secretlastpass.txt"
+ "secretonepassword.txt"
+ "secretpass.txt")))))))
(native-inputs
(list go-etcd-io-bbolt
go-github-com-alecthomas-chroma
--
2.41.0
- [bug#71023] [PATCH 0/9] Update fzf to 0.52.1, Luis Higino, 2024/05/17
- [bug#71023] [PATCH 1/9] gnu: Add go-github-com-charlievieth-fastwalk., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 4/9] gnu: senpai: Update go version., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 8/9] gnu: golang.scm: Update packages and go versions., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 9/9] gnu: go-github-com-junegunn-fzf: Update to 0.52.1., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 6/9] gnu: games.scm: Update go versions., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 7/9] gnu: golang-xyz.scm: Update go versions., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 3/9] gnu: vale: Update go version., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 5/9] gnu: chezmoi: Update go version.,
Luis Higino <=
- [bug#71023] [PATCH 2/9] gnu: aerc: Update go version., Luis Higino, 2024/05/17
- [bug#71023] [PATCH 0/9] Update fzf to 0.52.1, Sharlatan Hellseher, 2024/05/21