mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02: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:
|
||||
;;;
|
||||
|
||||
;; 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.
|
||||
(define-public go-ninefans-net-go
|
||||
(define-public go-9fans-net-go
|
||||
;; XXX: This variant is to keep go importer healthy with "--insert" option,
|
||||
;; which places package in alphabetical order and names it accordingly to
|
||||
;; import path from go.mod file.
|
||||
;;
|
||||
;; Use go-ninefans-net-go to include in inputs.
|
||||
(package
|
||||
(name "go-ninefans-net-go")
|
||||
(name "go-9fans-net-go")
|
||||
(version "0.0.7")
|
||||
(source
|
||||
(origin
|
||||
|
@ -19559,6 +19559,17 @@ that @code{gofmt} is happy with.")
|
|||
formatter, and interpreter with bash support.")
|
||||
(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
|
||||
(package
|
||||
(name "go-nullprogram-com-x-optparse")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue