[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/32: gnu: ghq: Fix build.
From: |
guix-commits |
Subject: |
26/32: gnu: ghq: Fix build. |
Date: |
Mon, 19 Feb 2024 18:41:14 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit bd511903dec501dc503a2bafa28c60386c9d8118
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Feb 17 00:54:54 2024 +0000
gnu: ghq: Fix build.
Fix build as seen in <https://ci.guix.gnu.org/build/3490264/details>.
* gnu/packages/version-control.scm (ghq): Use G-expressions.
[arguments] <#:go>: Use go-1.21.
<#:phases>: Remove trailing #t from lambda.
Change-Id: Ifb1e133a2570dcd04212ef43b46c8b41c3507c88
---
gnu/packages/version-control.scm | 35 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 242c2bf093..3c43effbd1 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -3720,23 +3720,24 @@ If several repos are related, it helps to see their
status together.")
"155sfmhmh4ia3iinm1s8fk7fxyn5dxdryad9xkbg7mr3i3ikqjwh"))))
(build-system go-build-system)
(arguments
- '(#:install-source? #f
- #:import-path "github.com/x-motemen/ghq"
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-completions
- (lambda* (#:key outputs import-path #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bash-completion (string-append out
"/etc/bash_completion.d"))
- (zsh-completion (string-append out
"/share/zsh/site-functions")))
- (with-directory-excursion (string-append "src/" import-path)
- (mkdir-p bash-completion)
- (copy-file "misc/bash/_ghq"
- (string-append bash-completion "/ghq"))
- (mkdir-p zsh-completion)
- (copy-file "misc/zsh/_ghq"
- (string-append zsh-completion "/_ghq"))))
- #t)))))
+ (list
+ #:install-source? #f
+ #:go go-1.21
+ #:import-path "github.com/x-motemen/ghq"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-completions
+ (lambda* (#:key outputs import-path #:allow-other-keys)
+ (let* ((out #$output)
+ (bash-completion (string-append out
"/etc/bash_completion.d"))
+ (zsh-completion (string-append out
"/share/zsh/site-functions")))
+ (with-directory-excursion (string-append "src/" import-path)
+ (mkdir-p bash-completion)
+ (copy-file "misc/bash/_ghq"
+ (string-append bash-completion "/ghq"))
+ (mkdir-p zsh-completion)
+ (copy-file "misc/zsh/_ghq"
+ (string-append zsh-completion "/_ghq")))))))))
(native-inputs
(list git-minimal))
(inputs
- 10/32: gnu: Add go-github-com-orisano-pixelmatch., (continued)
- 10/32: gnu: Add go-github-com-orisano-pixelmatch., guix-commits, 2024/02/19
- 24/32: gnu: go-github-com-songmu-gitconfig: Fix build., guix-commits, 2024/02/19
- 18/32: gnu: go-github-com-alecthomas-chroma: Update to 0.10.0., guix-commits, 2024/02/19
- 20/32: gnu: Add go-github-com-alecthomas-chroma-v2., guix-commits, 2024/02/19
- 27/32: gnu: go-github-go-git: Remove labels., guix-commits, 2024/02/19
- 28/32: gnu: go-github-go-git: Adjust imports., guix-commits, 2024/02/19
- 23/32: gnu: go-github-com-songmu-gitconfig: Move to golang-xyz., guix-commits, 2024/02/19
- 12/32: gnu: Add go-github-com-coocood-freecache., guix-commits, 2024/02/19
- 16/32: gnu: Add go-github-com-dustin-gojson., guix-commits, 2024/02/19
- 22/32: gnu: go-github-com-alecthomas-assert-v2: Update to 2.5.0., guix-commits, 2024/02/19
- 26/32: gnu: ghq: Fix build.,
guix-commits <=
- 29/32: gnu: Add go-github-com-bmatcuk-doublestar-v2., guix-commits, 2024/02/19
- 30/32: gnu: Add go-github-com-google-go-github-v33., guix-commits, 2024/02/19
- 31/32: gnu: chezmoi: Sort inputs alphabetically., guix-commits, 2024/02/19
- 13/32: gnu: Add go-github-com-golang-jwt-jwt-v4., guix-commits, 2024/02/19
- 32/32: gnu: chezmoi: Update to 1.8.10., guix-commits, 2024/02/19
- 08/32: gnu: go-github-com-valyala-fasthttp: Add missing input., guix-commits, 2024/02/19
- 21/32: gnu: go-github-com-alecthomas-assert: Depricate package., guix-commits, 2024/02/19
- 25/32: gnu: ghq: Remove package labels., guix-commits, 2024/02/19