Commit graph

137453 commits

Author SHA1 Message Date
Sharlatan Hellseher
dcfdd70d53
gnu: go-golang-org-x-crypto: Update to 0.14.0.
* gnu/packages/golang-build.scm (go-golang-org-x-crypto): Update to 0.14.0.
[propagated-inputs]: Add go-golang-org-x-net, go-golang-org-x-term and
go-golang-org-x-text.

Change-Id: I0b064137070be75545f012fc7a89280522855e27
2024-06-29 09:37:41 +01:00
Sharlatan Hellseher
0540c0ccb2
gnu: go-golang-org-x-sys: Fix indentation.
* gnu/packages/golang-build.scm (go-golang-org-x-sys): Re indent.

Change-Id: I63f95e9fb8d6d633fbb0642100c60d5df9121730
2024-06-29 09:37:41 +01:00
Sharlatan Hellseher
fc9eb91b0c
gnu: go-golang-org-x-sys: Update to 0.21.0.
* gnu/packages/golang-build.scm (go-golang-org-x-sys): Update to 0.21.0.

Change-Id: I0509e9aad319f55641807a28ebbd32b50cf34ede
2024-06-29 09:37:41 +01:00
Sharlatan Hellseher
bae99a0c44
gnu: go-golang-org-x-sys: Enable tests.
* gnu/packages/golang-build.scm (go-golang-org-x-sys) [arguments]:
<#:tests>: Enable them.
<#:phases>: Add custom 'check phase.

Change-Id: Ie58ea6f0aa677742307d18cfaafcf6ec381c85c9
2024-06-29 09:37:41 +01:00
Sharlatan Hellseher
5a2a870a58
gnu: go-golang-org-x-sync: Improve description.
* gnu/packages/golang-build.scm (go-golang-org-x-sync) [description]:
Extend and improve description.

Change-Id: Ie5b48230d7bc7bbd03e2af76d3a3660960282291
2024-06-29 09:37:41 +01:00
Sharlatan Hellseher
7e300af164
gnu: go-golang-org-x-sync: Fix indentation.
* gnu/packages/golang-build.scm (go-golang-org-x-sync): Re indent.

Change-Id: I0399635dc8ddd2917b2f5920da883fa0459e7e30
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
2ead215712
gnu: go-golang-org-x-sync: Update to 0.7.0.
* gnu/packages/golang-build.scm (go-golang-org-x-sync): Update to 0.7.0.

Change-Id: Ifd4e2035b2d6e2e9cec93342a8871cf0ed9f0443
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
16cf2fea8d
gnu: go-golang-org-x-sync: Enable tests.
* gnu/packages/golang-build.scm (go-golang-org-x-sync): Refresh package style.
[arguments]: <#:phases>: Add custom 'check phase.

Change-Id: Ibee36b53934faed80561d461090cfcfea32b5bfa
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
afbc1cc8b3
gnu: Remove go-golang.org-x-sync-semaphore.
* gnu/packages/golang-build.scm (go-golang.org-x-sync-semaphore): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-semaphore.
* gnu/packages/version-control.scm (git-lfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-semaphore; add go-golang-org-x-sync.

Change-Id: Icf3edfc46696c8b9af79787ff77f7e65852bfef4
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
9708590d20
gnu: Remove go-golang.org-x-sync-errgroup.
* gnu/packages/golang-build.scm (go-golang.org-x-sync-errgroup): Delete variable.
* gnu/packages/check.scm (actionlint): Adjust inputs.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (gotestsum): Likewise.
[native-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/golang.scm (go-github-com-prometheus-procfs): Likewise.
[propagated-inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.
* gnu/packages/version-control.scm (ghq): Likewise.
[inputs]: Remove go-golang.org-x-sync-errgroup; add go-golang-org-x-sync.

Change-Id: If64c30da47ed9cd043798f427f2927b76394f3c4
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
9cfcc16c2f
gnu: dstask: Apply "-trimpath" flag.
* gnu/packages/task-management.scm (dstask) [arguments]: <#:phases>:
Apply "-trimpath" flag to custom 'build phase.

Change-Id: I71b145cc4cae587fa898d479e1d5580b5f3750da
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
e7349f1f81
gnu: nncp: Apply "-trimpath" flag.
* gnu/packages/uucp.scm (nncp) [arguments]:
<#:phases>: Remove 'remove-go-references phase.
Set BUILDFLAGS=-trimpath to replace 'remove-go-references phase in
'configure phase.

Change-Id: I7cfe14174e38708d36329d8e33ed6bb1ce0ae220
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
6d520b8c0c
gnu: docker: Apply "-trimpath" flag.
* gnu/packages/docker.scm (docker) [arguments]:
<#:phases>: Remove 'remove-go-references phase.
Set BUILDFLAGS=-trimpath to replace 'remove-go-references phase in
'build phase.

Change-Id: Iada1a8764808d26e476ca8ca87a23061834f78be
2024-06-29 09:37:40 +01:00
Sharlatan Hellseher
caf5cfaa0d
gnu: skopeo: Apply "-trimpath" flag.
* gnu/packages/virtualization.scm (skopeo) [arguments]: <#:make-flags>:
Add "-trimpath" to replace 'remove-go-references phase.
<#:phases>: Remove 'remove-go-references phase.

Change-Id: Idab669576282c81d55ec989dc1a64e87b89699ee
2024-06-29 09:37:39 +01:00
Sharlatan Hellseher
d2d5a3af3e
gnu: go-github-com-golang-protobuf-proto: Adjust package name.
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>
2024-06-29 09:37:35 +01:00
Hilton Chain
12c72ab2cc
gnu: go-github-com-golang-protobuf-proto: Update to 1.5.3.
* gnu/packages/golang.scm (go-github-com-golang-protobuf-proto): Update to
1.5.3.
[arguments]: Enable tests.
[propagated-inputs]: Add go-google-golang-org-protobuf.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-06-29 09:36:57 +01:00
Hilton Chain
3da36f50a1
gnu: go-google-golang-org-protobuf: Update to 1.31.0.
* gnu/packages/golang.scm (go-google-golang-org-protobuf): Update to 1.31.0.
[arguments]: <#:phases>: Remove 'build phase. Add custom 'check phase.
[propagated-inputs]: Remove go-github-com-golang-protobuf-proto.

Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Iba7fe94b2a2fa245e24d17affa5edb1531ac835b
2024-06-29 09:36:57 +01:00
Katherine Cox-Buday
a8d9741a15
gnu: go-1.22: Disable flakey tests.
* gnu/packages/golang.scm (go-1.22): Disable flakey tests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Iae54b66ca9e330a8a6fafdba23869fccf875aab4
2024-06-29 09:36:56 +01:00
Brennan Vincent
e7132e2385
gnu: go-1.22: Update to 1.22.2.
* gnu/packages/golang.scm (go-1.22): Update to 1.22.2.

Change-Id: I2f30d9d851e97399be771e878a9158b56ff08e1b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-06-29 09:36:56 +01:00
Brennan Vincent
db3d397df8
gnu: go-1.22: Update to 1.22.1.
* gnu/packages/golang.scm (go-1.22): Update to 1.22.1.

Change-Id: I4c007f43448b391dfa53c932b6adf8622efc9e43
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-06-29 09:36:56 +01:00
Ekaitz Zarraga
0df957eecc
build/go: Use trimpath go flag.
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>
2024-06-29 09:36:56 +01:00
Efraim Flashner
7e7e91b159
build/go: Don't use set!
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>
2024-06-29 09:36:56 +01:00
Sharlatan Hellseher
dbf3b5daf5
gnu: Remove go-golang-org-x-net-html.
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
2024-06-29 09:36:56 +01:00
Troy Figiel
11313556c5
gnu: Remove go-etcd-io-bbolt.
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
2024-06-29 09:36:53 +01:00
Troy Figiel
89e844d825
gnu: go-go-etcd-io-bbolt: Move to (gnu packages golang-xyz).
* gnu/packages/databases.scm (go-go-etcd-io-bbolt): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I52e6ea227c417c1997210ecc22725387143df32f
2024-06-29 09:35:58 +01:00
Sharlatan Hellseher
85df67d365
gnu: Add go-go-etcd-io-gofail.
* gnu/packages/golang-check.scm (go-go-etcd-io-gofail): New variable.

Change-Id: I86478db4267cd8559c1d87497f1b635ffe86192d
2024-06-29 09:35:58 +01:00
Efraim Flashner
0fe4e6425e
gnu: Remove go-1.14.
* gnu/packages/golang.scm (go-1.14, go-std-1.14): Remove variables.
(go-1.16): Inherit from go-1.4.

Change-Id: Ie92019e3aa733a8c6f12dfefbc7b140eb1b76c5c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-06-29 09:35:58 +01:00
Brennan Vincent
bbb1a7b5ed
gnu: Add go-1.22 and its standard library.
* gnu/packages/golang.scm (go-1.22): New variable.

* gnu/packages/golang.scm (go-std-1.22): New variable.

Change-Id: I18d92874d4131843e7c6cf0e8d89f2946f7b972d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-06-29 09:35:58 +01:00
Lars-Dominik Braun
0bce74d458
gnu: Upgrade to Stackage 20.26.
* guix/import/stackage.scm (%default-lts-version): Upgrade to Stackage
20.26.
* gnu/packages/patches/ghc-aeson-encodeDouble.patch: New file.
* gnu/packages/patches/ghc-clock-realfrag.patch: New file.
* gnu/local.mk: Register them.
* gnu/packages/haskell-check.scm (ghc-tasty-hedgehog): Update.
(ghc-tasty-hspec): Update.
(ghc-tasty-expected-failure): Update.
(ghc-quickcheck-instances): Update.
(ghc-quickcheck-io): Update.
(ghc-hspec-contrib): Update.
* gnu/packages/haskell-crypto.scm (ghc-curve25519): Update.
(ghc-tls): Update.
* gnu/packages/haskell-web.scm (ghc-tagsoup): Update.
(ghc-http2): Update.
(ghc-wai-websockets): Update.
(ghc-aeson): Update.
(ghc-clientsession): Update.
(ghc-yesod-core): Update.
(ghc-yesod-persistent): Update.
(ghc-wai-cors): Update.
* gnu/packages/haskell-xyz.scm (ghc-abstract-par): Update.
(ghc-adjunctions): Update.
(ghc-aeson-diff): Update.
(ghc-base16-bytestring): Update.
(ghc-base-compat): Update.
(ghc-base-compat-batteries): Update.
(ghc-basement): Update.
(ghc-bencode): Update.
(ghc-bytestring-handle): Update.
(ghc-c2hs): Update.
(ghc-cassava-megaparsec): Update.
(ghc-cborg): Update.
(ghc-charset): Update.
(ghc-chasingbottoms): Update.
(ghc-clock): Update.
(ghc-cmark-gfm): Update.
(ghc-concurrent-extra): Update.
(ghc-concurrent-output): Update.
(ghc-conduit-extra): Update.
(ghc-constraints): Update.
(ghc-convertible): Update.
(ghc-csv): Update.
(ghc-data-accessor): Update.
(ghc-data-ordlist): Update.
(ghc-dense-linear-algebra): Update.
(ghc-diagrams-core): Update.
(ghc-diff): Update.
(ghc-dual-tree): Update.
(ghc-either): Update.
(ghc-errors): Update.
(ghc-esqueleto): Update.
(ghc-exactprint): Update.
(ghc-extensible-exceptions): Update.
(ghc-fail): Update.
(ghc-filepath-bytestring): Update.
(ghc-fingertree): Update.
(ghc-fmlist): Update.
(ghc-foldl): Update.
(ghc-free): Update.
(ghc-fsnotify): Update.
(ghc-generic-random): Update.
(ghc-genvalidity-property): Update.
(ghc-groups): Update.
(ghc-hackage-security): Update.
(ghc-half): Update.
(ghc-hashtables): Update.
(ghc-haskell-src): Update.
(ghc-haskell-src-exts-util): Update.
(ghc-hourglass): Update.
(ghc-hpack): Update.
(ghc-hslua): Update.
(ghc-hslua-module-system): Update.
(ghc-http-api-data): Update.
(ghc-ini): Update.
(ghc-inline-c): Update.
(ghc-inline-c-cpp): Update.
(ghc-interpolate): Update.
(ghc-intervals): Update.
(ghc-invariant): Update.
(ghc-io-streams): Update.
(ghc-ipynb): Update.
(ghc-kan-extensions): Update.
(ghc-lens): Update.
(ghc-libmpd): Update.
(ghc-libyaml): Update.
(ghc-lifted-async): Update.
(ghc-linear): Update.
(ghc-listlike): Update.
(ghc-logict): Update.
(ghc-lucid): Update.
(ghc-lzma-conduit): Update.
(ghc-magic): Update.
(ghc-microlens-ghc): Update.
(ghc-microlens-mtl): Update.
(ghc-microlens-platform): Update.
(ghc-missingh): Update.
(ghc-mmorph): Update.
(ghc-monad-control): Update.
(ghc-monad-logger): Update.
(ghc-monoid-extras): Update.
(ghc-murmur-hash): Update.
(ghc-ncurses): Update.
(ghc-network-info): Update.
(ghc-newtype-generics): Update.
(ghc-openglraw): Update.
(ghc-text-conversions): Update.
(ghc-text-icu): Update.
(ghc-text-short): Update.
(ghc-text-zipper): Update.
(ghc-parsers): Update.
(ghc-path): Update.
(ghc-peano): Update.
(ghc-persistent): Update.
(ghc-persistent-sqlite): Update.
(ghc-process-extras): Update.
(ghc-indexed-profunctors): Update.
(ghc-project-template): Update.
(ghc-psqueues): Update.
(ghc-random): Update.
(ghc-reducers): Update.
(ghc-refact): Update.
(ghc-regex-posix): Update.
(ghc-resourcet): Update.
(ghc-sdl): Update.
(ghc-sdl2-image): Update.
(ghc-sdl2-mixer): Update.
(ghc-sdl2-ttf): Update.
(ghc-sdl2-gfx): Update.
(ghc-semigroupoids): Update.
(ghc-semigroups): Update.
(ghc-shakespeare): Update.
(ghc-shelly): Update.
(ghc-simple-reflect): Update.
(ghc-size-based): Update.
(ghc-skylighting-format-latex): Update.
(ghc-skylighting-format-ansi): Update.
(ghc-skylighting): Update.
(ghc-sop-core): Update.
(ghc-split): Update.
(ghc-splitmix): Update.
(ghc-statevar): Update.
(ghc-statistics): Update.
(ghc-stm-conduit): Update.
(ghc-storable-complex): Update.
(ghc-storablevector): Update.
(ghc-svg-builder): Update.
(ghc-temporary-rc): Update.
(ghc-terminal-size): Update.
(ghc-text-manipulate): Update.
(ghc-th-abstraction): Update.
(ghc-th-expand-syns): Update.
(ghc-th-lift-instances): Update.
(ghc-th-orphans): Update.
(ghc-timezone-series): Update.
(ghc-timezone-olson): Update.
(ghc-tldr): Update.
(ghc-transformers-compat): Update.
(ghc-exception-transformers): Update.
(ghc-trifecta): Update.
(ghc-turtle): Update.
(ghc-unagi-chan): Update.
(ghc-unexceptionalio): Update.
(ghc-unicode-transforms): Update.
(ghc-unix-compat): Update.
(ghc-unix-time): Update.
(ghc-unliftio): Update.
(ghc-commutative-semigroups): Update.
(ghc-utf8-string): Update.
(ghc-void): Update.
(ghc-wl-pprint-text): Update.
(ghc-x11-xft): Update.
(ghc-xml): Update.
(ghc-xml-hamlet): Update.
(ghc-yaml): Update.
(ghc-zip-archive): Update.
(ghc-zlib): Update.
(ghc-zstd): Update.
(ghc-keys): Update.
(ghc-pointed): Update.
(ghc-lift-type): Update.
(ghc-unicode-collation): Update.
(ghc-citeproc): Update.
(ghc-commonmark): Update.
(ghc-commonmark-extensions): Update.
(ghc-genvalidity-hspec): Update.
(ghc-netlink): Update.
(ghc-doctest-driver-gen): Update.
(ghc-mysql): Update.
(ghc-persistent-qq): Update.
(ghc-persistent-mysql): Update.
(ghc-string-conversions): Update.
(ghc-postgresql-simple): Update.
(ghc-persistent-postgresql): Update.
(ghc-filtrable): Update.
(ghc-hsyaml-aeson): Update.
(ghc-singleton-bool): Update.
(ghc-git-lfs): Update.
(ghc-nothunks): Update.
(ghc-onetuple): Update.
(ghc-doctest-parallel): Update.
(ghc-ordered-containers): Update.
(ghc-hslua-marshalling): Update.
(ghc-gridtables): Update.
(ghc-should-not-typecheck): Update.
(ghc-servant-server): Update.
(ghc-recv): Update.
(ghc-glib): Update.
(ghc-pango): Update.
(ghc-monoidal-containers): Update.
(ghc-newtype): Update.
(ghc-random-shuffle): Update.
(ghc-ref-tf): Update.
* gnu/packages/irc.scm (glirc): Update.
* gnu/packages/purescript.scm (purescript): Update.
* gnu/packages/wm.scm (icewm): Update.
(ghc-xmobar): Update.

Change-Id: I26ef7c2ef06e3075eba3da21947f16708c437f98
2024-06-29 08:56:16 +02:00
Lars-Dominik Braun
55b5c7c9b1
gnu: ghc-9.2: Update to 9.2.8.
* gnu/packages/haskell.scm (ghc-9.2): Update to 9.2.8.

Change-Id: I4cbb48ad166f893a5b7c707505a77effce208b86
2024-06-29 08:56:16 +02:00
Sören Tempel
9236047476
gnu: ghc-9.2: Make Cabal respect GHC_PACKAGE_PATH
**tl;dr** Applying this patch makes Cabal work in Guix environments
and ensures that Cabal picks up Haskell packages installed via Guix.

Guix makes heavy use of GHC_PACKAGE_PATH to make GHC pickup Haskell
packages installed via the Guix package manager. The environment
variable is set using native-search-paths from the GHC packages.

Unfortunately, upstream Cabal does presently not respect
GHC_PACKAGE_PATH. If this environment variable is set, `cabal build`
and other commands will terminate. For building packages, Guix does
not make much use of cabal-install hence this is not as big of an
issue. However, cabal-install does therefore presently not work
out-of-the-box in environments created by Guix. For example,
in `guix shell` environments. This makes it essentially impossible
to use Guix for setting up development environments for Haskell software.

Cabal upstream is aware of this issue and a patch exists to workaround
this problem. The patch is currently not merged upstream due to issues
related to reconfiguration (changing GHC_PACKAGE_PATH between `cabal
configure` and `cabal build`). However, I would argue that this edge
case is not that relevant for Guix and therefore propose including
this patch with the Cabal Guix package. As outlined above, cabal-install
is not usable by default presently, and I would therefore argue that
this is a major improvement over the current situation. I am willing to
work with Cabal upstream to have this issue fixed upstream eventually.

Note that this requires patching the GHC package instead of the
cabal-install package as Guix uses the version of the Cabal package
<https://hackage.haskell.org/package/Cabal> distributed with GHC.

See: https://github.com/haskell/cabal/issues/3728

* gnu/packages/haskell-apps.scm (cabal-install): Include patch
to support the GHC_PACKAGE_PATH environment variable.

Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
Change-Id: Ib77ffa937b878690d0e2d8964b534842b99da039
2024-06-29 08:56:16 +02:00
Roman Scherer
208c2d63bb
gnu: emacs-ellama: Update to 0.9.11.
* gnu/packages/emacs-xyz.scm (emacs-ellama): Update to 0.9.11.

Change-Id: I80149cc6fb4b48bce8ecc0c031fbceedb21da4d9
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-06-29 10:53:20 +04:00
Andy Tai
01ea5ebc71
gnu: parallel: Update to 20240622.
* gnu/packages/parallel.scm (parallel): Update to 20240622.

Change-Id: I4cc8b2ded6a3ddcdfebbd1737a4f4268d7909ee8
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-06-29 12:08:36 +08:00
Wilko Meyer
b5dea86d64
gnu: php: Update to 8.3.8.
* gnu/packages/php.scm (php): Update to 8.3.8.

Change-Id: Ia0714520973b537a82d12fb346f3efbadfc11e61
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
2024-06-29 12:06:29 +08:00
Zheng Junjie
9590fa7617
gnu: flatpak: Pass system icons and fonts.
* gnu/packages/patches/flatpak-fix-fonts-icons.patch: New patch.
* gnu/packages/package-management.scm(flatpak): Use it.
* gnu/local.mk(dist_patch_DATA): Register it.

Change-Id: I0359d0d9bf10120a8b784c910c50d0e4a9b7a616
2024-06-29 12:03:00 +08:00
Afkhami, Navid
385fb14f64
gnu: Add r-rphyloxml.
* gnu/packages/bioinformatics.scm (r-rphyloxml): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: I5b799986064f2af5fe74454f2e78fea7d9947260
2024-06-28 22:37:36 +02:00
Sharlatan Hellseher
ae55410e07
gnu: go-github-com-dlclark-regexp2: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-dlclark-regexp2): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I0e355d6d21c604d89c623eaf9c5276c61b40d4c6
2024-06-28 15:15:44 +01:00
Sharlatan Hellseher
51ea1d2fa8
gnu: Add go-github-com-bmatcuk-doublestar-v4.
* gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar-v4): New variable.

Change-Id: I81c9b04f1932b29e2bda7bf06df1ff3bef5caaa3
2024-06-28 15:15:44 +01:00
Sharlatan Hellseher
f01a2dd80a
gnu: Add go-github-com-klauspost-cpuid-v2.
* gnu/packages/golang-xyz.scm (go-github-com-klauspost-cpuid-v2): New variable.

Change-Id: I0465af816409325cd8b5b5f339c155d0326338a7
2024-06-28 15:15:44 +01:00
Sharlatan Hellseher
e48e8fe8d5
gnu: go-github-com-klauspost-cpuid: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-klauspost-cpuid): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I85bc873816f653bf5e4ce2882259708d5f37ca28
2024-06-28 15:15:43 +01:00
Sharlatan Hellseher
6fed47ad94
gnu: go-github-com-masterminds-semver-v3: Update to 3.2.1.
* gnu/packages/golang-xyz.scm (go-github-com-masterminds-semver-v3): Update to 3.2.1.
[native-inputs]: Add go-github-com-stretchr-testify-next.

Change-Id: I6313394293de4d953a1ef344701d117eab35d237
2024-06-28 15:15:43 +01:00
Sharlatan Hellseher
6d6a344a08
gnu: go-github-com-masterminds-semver: Rename variable.
* gnu/packages/golang-xyz.scm (go-github-com-masterminds-semver): Rename
to go-github-com-masterminds-semver-v3.
[arguments]: <#:import-path>: Reflect import path as seen in go.mod.

* gnu/packages/golang-xyz.scm (go-github-com-masterminds-sprig)
[propagated-inputs]: Replace go-github-com-masterminds-semver with
go-github-com-masterminds-semver-v3.

Change-Id: I43f2231241f02b6f2f01f89f98a72f29929b9376
2024-06-28 15:15:43 +01:00
Sharlatan Hellseher
1526c615bc
gnu: go-github-com-masterminds-semver: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-masterminds-semver): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I267210f30143c29fe1927e7fbf9ae8cdff633092
2024-06-28 15:15:43 +01:00
Sharlatan Hellseher
d9f720b7ef
gnu: go-github-com-masterminds-sprig-v3: Enable tests.
* gnu/packages/golang-xyz.scm (go-github-com-masterminds-sprig-v3)
[arguments]: <#:tests?>: Enable them.
<#:phases>: Add 'remove-network-tests phase.

Change-Id: I526f8c7d273ea3d88f8844da97293a1080471c62
2024-06-28 15:15:31 +01:00
Sharlatan Hellseher
1afefe0f0f
gnu: go-github-com-masterminds-sprig: Rename variable.
* gnu/packages/golang-xyz.scm (go-github-com-masterminds-sprig): Rename
to go-github-com-masterminds-sprig-v3.
[arguments]: <#:import-path>: Reflect import path as seen in go.mod.

* gnu/packages/configuration-management.scm (chezmoi) [native-inputs]:
Replace go-github-com-masterminds-sprig with
go-github-com-masterminds-sprig-v3.

Change-Id: I2d171ff9f719e6664266723ae0483f73cef343c5
2024-06-28 14:57:07 +01:00
Sharlatan Hellseher
77ec077071
gnu: chezmoi: Refresh package style.
* gnu/packages/configuration-management.scm (chezmoi): Use G-expressions
and list style, re-indent.
[arguments]: <#:go>: Set to go-1.21.

Change-Id: I5a7a4deffcd8b9102614b3f628a7ddd33ee82633
2024-06-28 14:57:07 +01:00
Sharlatan Hellseher
aa32bdfa78
gnu: chezmoi: Remove propagated inputs.
* gnu/packages/configuration-management.scm (chezmoi): Remove propagated inputs.
[native-inputs]: Remove go-github-com-google-uuid,
go-github-com-huandu-xstrings, go-github-com-imdario-mergo,
go-github-com-masterminds-goutils, go-github-com-masterminds-semver,
go-github-com-mitchellh-copystructure,
go-github-com-mitchellh-reflectwalk, and go-golang-org-x-crypto.

Change-Id: Ifeb42652b07827e76c57a0165683200af312faf3
2024-06-28 11:35:06 +01:00
Sharlatan Hellseher
8cf6d28329
gnu: go-github-com-masterminds-sprig: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-masterminds-sprig): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.

Change-Id: I424ea6887286bdaee67b3f367024c6d7982bcbd2
2024-06-28 11:31:45 +01:00
Sharlatan Hellseher
f9a3d7a3d7
gnu: go-github-com-nwaples-rardecode-v2: Rename variable.
* gnu/packages/golang-compression.scm (go-github-com-nwaples-rardecode-v2):
Rename as seen in go.mod to go-github-com-nwaples-rardecode.

Change-Id: Id492ee6c4e5aebdbec9487b6990e2c5fa5dfe62c
2024-06-28 11:30:11 +01:00
Afkhami, Navid
6a7d5cda17
gnu: Add r-rnacrosslinkoo.
* gnu/packages/bioinformatics.scm (r-rnacrosslinkoo): New variable.

Change-Id: I1ca6dcef9c093627c3743d1176e587cf40053ba0
2024-06-28 11:53:19 +02:00