This is a warkaround for the excess library grafts issue that can prevent
stumpwm from working properly. See <https://issues.guix.gnu.org/47115> and
<https://issues.guix.gnu.org/62890>.
* gnu/packages/wm.scm (stumpwm)[outputs]: Remove "lib" output.
[arguments]: Remove references to the "lib" output from phases.
(stumpwm+slynk, stumpwm-contrib, sbcl-stumpwm-pamixer,
sbcl-stumpwm-ttf-fonts, sbcl-stumpwm-stumptray, sbcl-stumpwm-disk,
sbcl-stumpwm-screenshot, sbcl-stumpwm-notify,
sbcl-stumpwm-battery-portable)[inputs]: Replace '(stumpwm "lib")'
with 'stumpwm'.
Change-Id: I3d8f025057965032c40ea833d3ebe62f9700071d
Rename go-github-com-golang-protobuf-proto to the Golang module name as
seen in go.mod. Due to lack of support of building submodules in
go-build-system 'build phase is omitted and 'check phase is substituted by
custom one providing nested path tests.
* gnu/packages/golang.scm (go-github-com-golang-protobuf-proto): Rename to...
(go-github-com-golang-protobuf): ... this.
<#:unpack-path>: Remove argument.
<#:phases>: Delete 'build phase. Add custom 'check phase and run tests
for all submodules.
(go-github-com-prometheus-common,
go-github-com-matttproud-golang-protobuf-extensions-pbutil)
[propagated-inputs]: Adjust accordingly.
* gnu/packages/golang-check.scm (go-github-com-onsi-gomega)
[propagated-inputs]: Likewise
* gnu/packages/golang-web.scm (go-github-com-golang-groupcache,
go-github-com-quic-go-quic-go)
[propagated-inputs]: Likewise
* gnu/packages/golang-xyz.scm (go-github-com-prometheus-client-model)
[propagated-inputs]: Likewise
* gnu/packages/syncthing.scm (go-github-com-matttproud-golang-protobuf-extensions-pbutil)
[propagated-inputs]: Likewise
Change-Id: I28c11739247a5ebafefd032d04a548a683fa0454
Co-authored-by: Hilton Chain <hako@ultrarare.space>
Go 1.13 introduced[1] a new "trimpath" flag in charge of removing the
references to the go toolchain in the produced ELFs. We used to remove
these references using the "remove-go-reference" function. This function
was executed after go install. By using this new trimpath flag, we don't
have to remove any store path from the ELFs produced by go install.
We're not using any go older than 1.13 anymore, it's safe to remove
these functions.
[1] https://go.dev/doc/go1.13
-trimpath
remove all file system paths from the resulting executable.
Instead of absolute file system paths, the recorded file names
will begin either a module path@version (when using modules),
or a plain import path (when using the standard library, or
GOPATH).
* guix/build/go-build-system.scm (build): Add -trimpath
(%standard-phases): Remove remove-go-references.
(remove-go-references): Remove.
Change-Id: Idcae366d226da5ce095693f81fd33133fd1d70d6
Co-authored-by: Picnoir <picnoir@alternativebit.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This causes build failures on powerpc-linux.
* guix/build/go-build-system.scm (unpack): When the unpack-path is unset
use the import-path but don't redefine the unpack-path.
Change-Id: I2b5a36eb738abb14307941d388038139dbaf2bdf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
golang.org/x/net is distributed as a single module according to provided
go.mod file. This changes remove the last reference to
golang.org/x/net/html.
* gnu/packages/golang-build.scm (go-golang-org-x-net) [propagated-inputs]: Add
go-golang-org-x-sys, go-golang-org-x-term and go-golang-org-x-text.
(go-golang-org-x-net-html): Remove variable.
* gnu/packages/version-control.scm (ghq) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.
* gnu/packages/textutils.scm (vale) [inputs]: Remove
go-golang-org-x-net-html. Add go-golang-org-x-net.
Change-Id: Ic275f2f7ccd145edfd376d65bd24599a550e849a
go-go-etcd-io-bbolt and go-etcd-io-bbolt are the same version and source
packages. This change removes go-etcd-io-bbolt and keeps
go-go-etcd-io-bbolt.
* gnu/packages/configuration-management.scm (chezmoi) [native-inputs]:
Add go-go-etcd-io-bbolt. Remove go-etcd-io-bbolt.
* gnu/packages/golang.scm (go-etcd-io-bbolt): Remove variable.
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I482f22b77b61d4761390742db2ced570cd4de3bd