gnu: direnv: Remove go references from output.
In the long run, it would be good to move direnv across to the go-build-system, and update the package, but these changes do succeed in reducing the closure size a lot. Thanks to Tanguy Le Carrour for raising this issue on guix-devel. * gnu/packages/shellutils.scm (direnv)[arguments]: Include the remove-go-references phase from the go-build-system. [inputs,native-inputs]: Move all inputs to native-inputs, as these are no longer referenced in the output.master
parent
dc01978288
commit
9729b6ea2f
|
@ -128,13 +128,14 @@ are already there.")
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
;; Help the build scripts find the Go language dependencies.
|
;; Help the build scripts find the Go language dependencies.
|
||||||
(add-before 'unpack 'setup-go-environment
|
(add-before 'unpack 'setup-go-environment
|
||||||
(assoc-ref go:%standard-phases 'setup-go-environment)))))
|
(assoc-ref go:%standard-phases 'setup-go-environment))
|
||||||
(inputs
|
(add-after 'install 'remove-go-references
|
||||||
|
(assoc-ref go:%standard-phases 'remove-go-references)))))
|
||||||
|
(native-inputs
|
||||||
`(("go" ,go)
|
`(("go" ,go)
|
||||||
("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)
|
("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)
|
||||||
("go-github-com-direnv-go-dotenv" ,go-github-com-direnv-go-dotenv)))
|
("go-github-com-direnv-go-dotenv" ,go-github-com-direnv-go-dotenv)
|
||||||
(native-inputs
|
("which" ,which)))
|
||||||
`(("which" ,which)))
|
|
||||||
(home-page "https://direnv.net/")
|
(home-page "https://direnv.net/")
|
||||||
(synopsis "Environment switcher for the shell")
|
(synopsis "Environment switcher for the shell")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue