mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-9fans-net-go variant.
This variant is to keep go importer healthy when it use with "--insert" option and name package according to go.mod import path. * gnu/packages/golang-xyz.scm (go-9fans-net-go): New variable. (go-ninefans-net-go): Inherit from go-9fans-net-go. Change-Id: Icda3d830ae4c00f5bc6ae70b6e37c160835b4570
This commit is contained in:
parent
c9fd6b8d41
commit
a6d0073aca
1 changed files with 18 additions and 7 deletions
|
@ -118,14 +118,14 @@
|
||||||
;;; Libraries:
|
;;; Libraries:
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
;; XXX: The package name in Guix uses 'ninefans' instead of '9fans' to
|
(define-public go-9fans-net-go
|
||||||
;; accomodate from a shortcoming of the go-build-system where the `go-inputs'
|
;; XXX: This variant is to keep go importer healthy with "--insert" option,
|
||||||
;; procedure in the `setup-go-environment' phase uses
|
;; which places package in alphabetical order and names it accordingly to
|
||||||
;; `package-name->name+version', which returns 'go' as name for
|
;; import path from go.mod file.
|
||||||
;; go-9fans-net-go-acme, which gets removed from the results and thus GOPATH.
|
;;
|
||||||
(define-public go-ninefans-net-go
|
;; Use go-ninefans-net-go to include in inputs.
|
||||||
(package
|
(package
|
||||||
(name "go-ninefans-net-go")
|
(name "go-9fans-net-go")
|
||||||
(version "0.0.7")
|
(version "0.0.7")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -19559,6 +19559,17 @@ that @code{gofmt} is happy with.")
|
||||||
formatter, and interpreter with bash support.")
|
formatter, and interpreter with bash support.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public go-ninefans-net-go
|
||||||
|
;; XXX: The package name in Guix uses 'ninefans' instead of '9fans' to
|
||||||
|
;; accomodate from a shortcoming of the go-build-system where the
|
||||||
|
;; `go-inputs' procedure in the `setup-go-environment' phase uses
|
||||||
|
;; `package-name->name+version', which returns 'go' as name for
|
||||||
|
;; go-9fans-net-go-acme, which gets removed from the results and thus
|
||||||
|
;; GOPATH.
|
||||||
|
(package
|
||||||
|
(inherit go-9fans-net-go)
|
||||||
|
(name "go-ninefans-net-go")))
|
||||||
|
|
||||||
(define-public go-nullprogram-com-x-optparse
|
(define-public go-nullprogram-com-x-optparse
|
||||||
(package
|
(package
|
||||||
(name "go-nullprogram-com-x-optparse")
|
(name "go-nullprogram-com-x-optparse")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue