mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: esbuild: Adjust input.
* gnu/packages/web.scm (esbuild) [inputs]: Remove go-golang-org-x-sys; add go-golang-org-x-sys-for-esbuild. * gnu/packages/golang-build.scm (go-golang-org-x-sys-for-esbuild): New variable. Change-Id: I8df379e84d8de4d5adc79a77905e876ebbb928ca
This commit is contained in:
parent
4f18939278
commit
4e7a1d3ca8
2 changed files with 19 additions and 1 deletions
|
@ -798,6 +798,24 @@ low-level interaction with the operating system.")
|
|||
(native-inputs '())
|
||||
(propagated-inputs '()))))
|
||||
|
||||
;; This is the only one dependency for esbuild, which is the main tool to
|
||||
;; produce all Node packages, keep it away from other golang.
|
||||
(define-public go-golang-org-x-sys-for-esbuild
|
||||
(hidden-package
|
||||
(package
|
||||
(inherit go-golang-org-x-sys)
|
||||
(name "go-golang-org-x-sys")
|
||||
(version "0.25.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://go.googlesource.com/sys")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0hdysrba8imiifb4ksjgbhkzhk1mksm1g3fj59i3bas1zdc5lbgp")))))))
|
||||
|
||||
(define-public go-golang-org-x-telemetry
|
||||
(package
|
||||
(name "go-golang-org-x-telemetry")
|
||||
|
|
|
@ -1998,7 +1998,7 @@ UTS#46.")
|
|||
(invoke "make" "test-go")))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("golang.org/x/sys" ,go-golang-org-x-sys)))
|
||||
`(("golang.org/x/sys" ,go-golang-org-x-sys-for-esbuild)))
|
||||
(native-inputs
|
||||
`(("github.com/kylelemons/godebug" ,go-github-com-kylelemons-godebug)))
|
||||
(home-page "https://esbuild.github.io/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue