diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-06 20:36:43 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-06 20:36:52 +0100 |
commit | 66eea1ac1ee01c907df39a10510a3977a7f8b95c (patch) | |
tree | 5bbd1656fc4b4caafd988ac3137fe7db23f6b92e | |
parent | d10bda6b28ef3c246ccbf4e4addefc8f21225e91 (diff) |
gnu: yq: Fix binary name.
* gnu/packages/textutils.scm (yq)[arguments] <import-path>: Remove
trailing v4 to force go compiler to provide "yq" binary.
Fixes: guix/guix#3350
Change-Id: I533a3d0717bef32346ba1bed49b1fc708044aedc
-rw-r--r-- | gnu/packages/textutils.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 0caad56e8a..6ccaacc745 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1957,7 +1957,10 @@ which it is heavily inspired.") (arguments (list #:install-source? #f - #:import-path "github.com/mikefarah/yq/v4" + ;; Go provides the binary as the name of the last directory in the + ;; import-path unless the file names is something else than main.go. + ;; The real import-path is "github.com/mikefarah/yq/v4". + #:import-path "github.com/mikefarah/yq" #:phases #~(modify-phases %standard-phases ;; Tests need this. |