~ruther/guix-local

66eea1ac1ee01c907df39a10510a3977a7f8b95c — Sharlatan Hellseher 5 months ago d10bda6
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
1 files changed, 4 insertions(+), 1 deletions(-)

M gnu/packages/textutils.scm
M gnu/packages/textutils.scm => gnu/packages/textutils.scm +4 -1
@@ 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.