Christopher Baines
9ae4846c50
gnu: Fix openmpi related packages.
...
This makes these package definitions compatible with the openmpi package which
uses gexps as of f45fc72c28
.
* gnu/packages/mpi.scm (openmpi-c++, java-openmpi,
openmpi-thread-multiple)[arguments]: Use gexps.
2023-02-27 09:34:09 +00:00
Andrew Tropin
17bd024331
gnu: Remove emacs-transient from propagated-inputs.
...
emacs-transient is built into emacs already and not required as an explicit
dependency anymore, but having it in propagated-inputs can break things in
various ways: for example emacs-next have a newer version and automatically
pulling older emacs-transient into profile breaks emoji-insert, or
emacs-docker.
* gnu/packages/emacs-xyz.scm (emacs-piem, emacs-clj-deps-new, emacs-dirvish):
Remove emacs-transient from propagated-inputs.
2023-02-27 07:31:22 +04:00
Ludovic Courtès
81fbf5d71f
gnu: texlive-apa6: Update reference to deprecated package.
...
* gnu/packages/tex.scm (texlive-apa6)[inputs]: Replace
'texlive-generic-xstring' with 'texlive-xstring'.
2023-02-27 01:17:04 +01:00
Ludovic Courtès
3f81ec18e4
gnu: libssh: Fix compilation on GNU/Hurd.
...
* gnu/packages/ssh.scm (libssh)[source]: Add snippet.
2023-02-27 01:16:32 +01:00
Bruno Victal
6bae14f614
gnu: perl-encode: Update to 3.19 [fixes CVE-2021-36770].
...
* gnu/packages/perl.scm (perl-encode): Update to 3.19.
[propagated-inputs]: Remove.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:00 +01:00
Timo Wilken
eb87d2c4a0
gnu: Add actionlint.
...
Actionlint is a linter for GitHub Action workflow files.
* gnu/packages/check.scm (actionlint): New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 14:29:59 -05:00
Timo Wilken
ec8c7370df
gnu: Add go-github-com-robfig-cron-1.2.
...
* gnu/packages/check.scm (go-github-com-robfig-cron-1.2):
New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 14:29:59 -05:00
Timo Wilken
1a550c93e5
gnu: Add go-golang.org-x-sync-semaphore.
...
* gnu/packages/golang.scm (go-golang.org-x-sync-semaphore):
New variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 14:29:59 -05:00
kiasoc5
226103fdd1
gnu: clamav: Update to 0.103.8 [security fixes].
...
Fixes CVE-2023-20032 and CVE-2023-20052.
* gnu/packages/antivirus.scm (clamav): Update to 0.103.8.
Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-26 12:44:04 -05:00
Vasile Dumitrascu via Guix-patches via
53a739ae5d
gnu: nano: Update to 7.2.
...
* gnu/packages/nano.scm (nano): Update to 7.2.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:15 +01:00
Vasile Dumitrascu via Guix-patches via
8d0a8ca1a9
gnu: perl-cgi: Update to 4.55
...
* gnu/packages/web.scm (perl-cgi): Update to 4.55.
[native-inputs]: Remove perl-test-deep.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:18 +01:00
Vasile Dumitrascu via Guix-patches via
a52074001f
gnu: mpg123: Update to 1.31.2.
...
* gnu/packages/mp3.scm (mpg123): Update to 1.31.2.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:18 +01:00
Vasile Dumitrascu via Guix-patches via
bf9db38291
gnu: simple-scan: Update to 42.5.
...
* gnu/packages/gnome.scm (simple-scan): Update to 42.5.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:17 +01:00
Vasile Dumitrascu via Guix-patches via
517740d1dd
gnu: network-manager-applet: Update to 1.30.0.
...
* gnu/packages/gnome.scm (network-manager-applet): Update to 1.30.0.
[inputs]: Remove libnotify.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:17 +01:00
Vasile Dumitrascu via Guix-patches via
9928b6c495
gnu: xarchiver: Update to 0.5.4.20.
...
* gnu/packages/compression.scm (xarchiver): Update to 0.5.4.20.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:17 +01:00
Vasile Dumitrascu via Guix-patches via
9beaf9ba82
gnu: adwaita-icon-theme: Update to 43.
...
* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 43.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:16 +01:00
Efraim Flashner
156da54a50
gnu: moe: Update to 1.13.
...
* gnu/packages/moe.scm (moe): Update to 1.13.
2023-02-26 12:45:27 +02:00
Lars-Dominik Braun
2c0537d374
gnu: idris: Adapt to changed haskell-build-system.
...
…which does not support the “static” output any more.
* gnu/packages/idris.scm (idris)[arguments]: Remove phase
restore-libidris_rts.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun
6188fe2633
gnu: xmobar: Drop Haskell libraries and documentation.
...
* gnu/packages/wm.scm (xmobar)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun
169237aae5
gnu: purescript: Drop Haskell libraries and documentation.
...
* gnu/packages/purescript.scm (purescript)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun
7996bd3955
gnu: pandoc: Drop Haskell libraries and documentation.
...
* gnu/packages/haskell-xyz.scm (ghc-pandoc): Renamed from pandoc.
(pandoc) [arguments]: Add 'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:17 +01:00
Lars-Dominik Braun
a38901c01e
gnu: shellcheck: Drop Haskell libraries.
...
* gnu/packages/haskell-apps.scm (shellcheck)[arguments]: Add
'remove-libraries phase.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun
be398aa2b4
gnu: git-annex: Drop Haskell documentation.
...
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun
47673272c4
gnu: darcs: Drop Haskell libraries and documentation.
...
* gnu/packages/haskell-apps.scm (darcs)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun
503998ac7a
gnu: hledger: Drop Haskell libraries and documentation.
...
* gnu/packages/finance.scm (ghc-hledger): New variable.
(hledger): Inherit from ghc-hledger and add 'remove-libraries phase and
disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun
baf9e0a336
gnu: ngless: Drop Haskell libraries and documentation.
...
* gnu/packages/bioinformatics.scm (ngless)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun
dc3e22f4d5
build: haskell-build-system: Build static executables by default.
...
This is the only way to get reasonably small binaries that don’t pull
in a ton of ghc-* packages.
* guix/build/haskell-build-system.scm (configure): Explicitly
add --enable-static and --disable-executable-dynamic, as well as
-split-sections to configure flags.
2023-02-26 10:26:16 +01:00
Lars-Dominik Braun
8a4ee0c113
gnu: ghc-lua: Disable symbol export.
...
This turns on the linker flag -Wl,-E for all libraries depending on it,
resulting in large binaries, because --gc-sections cannot clean exported
symbols.
* gnu/packages/haskell-xyz.scm (ghc-lua)[arguments]: Disable
export-dynamic feature.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun
7df12c8ca6
gnu: ghc-9.2: Support static linking with glibc < 2.34.
...
* gnu/packages/patches/ghc-9.2-glibc-2.33-link-order.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/haskell.scm (ghc-9.2)[origin]: Use it.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun
4bb40b098d
build-system: haskell: Drop default "static" output.
...
* guix/build-system/haskell.scm (lower): Pass outputs to lowered bag.
* guix/build/haskell-build-system.scm (install): Remove static library
moving code.
* gnu/packages/haskell-check.scm (ghc-hunit): Remove "static" output.
* gnu/packages/haskell-crypto.scm (ghc-crypto-api-tests): Likewise.
* gnu/packages/haskell-xyz.scm (ghc-case-insensitive): Likewise.
(ghc-cmdargs): Likewise.
(ghc-conduit): Likewise.
(ghc-fgl): Likewise.
(ghc-haskell-src-exts): Likewise.
(ghc-lib-parser): Likewise.
(ghc-mono-traversable): Likewise.
(ghc-parallel): Likewise.
(ghc-paths): Likewise.
(ghc-profunctors): Likewise.
(ghc-tf-random): Likewise.
(ghc-vector): Likewise.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun
ebea18357b
gnu: elm: Support GHC 9.2.
...
* gnu/packages/elm.scm (elm-sans-reactor)[source]: Add patch to support GHC 9.2.
* gnu/packages/patches/elm-ghc9.2.patch: This one.
* gnu/local.mk: Add it.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun
92caedb60c
gnu: idris: Fix overly zealous regular expression.
...
* gnu/packages/idris.scm (idris)[arguments]: Limit characters matched
after package name in cabal file substitutions.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun
7d60b97a6f
gnu: ghc-parsec: Update to 3.1.15.0.
...
Missed by automation.
* gnu/packages/haskell-xyz.scm (ghc-parsec)[version]: Update to 3.1.15.0.
[native-inputs]: Switch from HUnit to tasty.
2023-02-26 10:26:15 +01:00
Lars-Dominik Braun
9ce5ec5397
gnu: Remove unused Haskell packages.
...
* gnu/packages/haskell-xyz.scm (ghc-attoparsec-bootstrap): Remove variable.
(ghc-integer-logarithms-bootstrap): Likewise.
(ghc-scientific-bootstrap): Likewise.
(ghc-wcwidth-bootstrap): Likewise.
(ghc-optparse-applicative-0.15.1.0): Likewise.
2023-02-26 10:26:14 +01:00
Lars-Dominik Braun
d603946d38
gnu: ghc-9.2: Increase make verbosity.
...
Tests time out on ci.guix.gnu.org.
* gnu/packages/haskell.scm (ghc-9.2)[arguments]: Modify #:make-flags.
2023-02-26 10:26:14 +01:00
Lars-Dominik Braun
49a320aaa6
Upgrade Haskell packages.
...
Script-aided bulk change.
2023-02-26 10:26:07 +01:00
Lars-Dominik Braun
9262c14d73
build: haskell-build-system: Remove unused linker flags.
...
They were inserted as-is, without expandind variables into binaries.
* guix/build/haskell-build-system.scm (configure): Remove --ghc-option.
2023-02-26 10:20:14 +01:00
Lars-Dominik Braun
39c97cf3d0
build: haskell-build-system: Process all transitive dependencies.
...
A bug caused install-transitive-deps to stop looping if a dependency
file already existed in the target directory. For Haskell packages
with multiple libraries (like attoparsec) this resulted in missing
dependencies and error messages like this:
The following packages are broken because other packages they depend
on are missing. These broken packages must be rebuilt before they
can be used.
installed package attoparsec-0.14.4 is broken due to missing package
scientific-0.3.7.0-9XG3zUjXOw970JFcruv0cZ
See <https://issues.guix.gnu.org/54729#11 >.
* guix/build/haskell-build-system.scm (register): Unconditionally loop
over all tails.
2023-02-26 10:20:14 +01:00
Lars-Dominik Braun
b0fc911b5b
import: haskell: Add new internal library for GHC 9.2.
...
* guix/import/hackage.scm (ghc-standard-libraries): Add ghc-bignum.
2023-02-26 10:20:14 +01:00
Lars-Dominik Braun
890a181ed1
gnu: Use HACKAGE-URI for packages from Hackage.
...
Script-aided bulk change.
2023-02-26 10:20:14 +01:00
Lars-Dominik Braun
d06ae53013
import: hackage: Use upstream-name property.
...
* guix/import/hackage.scm (guix-package->hackage-name): Removed.
(latest-release): Use package-upstream-name* instead.
* guix/import/stackage.scm (latest-lts-release): Ditto.
(stackage-lts-package?): Ditto.
2023-02-26 10:20:14 +01:00
Lars-Dominik Braun
cad6aa8082
gnu: Add upstream-name property to Haskell packages.
...
Script-aided bulk change.
2023-02-26 10:20:11 +01:00
Lars-Dominik Braun
84549dcf38
import: hackage: Add upstream-name property.
...
* guix/import/hackage.scm (hackage-module->sexp): Add property
upstream-name to imported package.
* tests/hackage.scm (match-ghc-foo): Add upstream-name property.
(match-ghc-foo-6): Ditto.
(match-ghc-elif): Ditto.
(match-ghc-foo-revision): Ditto.
(match-ghc-foo-import): Ditto.
2023-02-26 10:19:36 +01:00
Lars-Dominik Braun
eb42d18180
import: stackage: Update to release 20.5.
...
* guix/import/stackage.scm (%default-lts-version): Update to 20.5.
2023-02-26 10:19:36 +01:00
Lars-Dominik Braun
f220509643
gnu: Switch default to GHC 9.2.
...
* gnu/packages/haskell.scm (ghc-9.0): Rename to just “ghc”.
(ghc-9.2): Ditto.
(ghc): Use ghc-9.2.
2023-02-26 10:19:35 +01:00
Philip Munksgaard
3455a004ec
build: haskell-build-system: Support multiple libraries.
...
Fixes <https://bugs.gnu.org/53655 >.
The patch handles correctly the multiple registration of some package using
their own internal sub-libraries. It allows to call 'install-transitive-deps'
multiple times and deals with packages requiring a multiple registration.
* guix/build/haskell-build-system.scm (register)[install-transitive-deps]:
Guard also the destination direction.
[install-config-file]: New procedure.
Co-Authored-by: zimoun <zimon.toutoune@gmail.com>.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-02-26 10:19:35 +01:00
zimoun
29d5fb7619
build: haskell-build-system: Remove trailing #t.
...
* guix/build/haskell-build-system.scm (configure, install, setup-compiler,
make-ghc-package-database, install-transitive-deps, check, haddock,
patch-cabal-file, generate-setuphs): Delete trailing #t.
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2023-02-26 10:19:35 +01:00
Lars-Dominik Braun
3e3f888dd3
import: hackage: Allow version at the beginning of cabal file.
...
Fix a corner case, uncovered by the hedgehog package, which has the
version field at the beginning of its cabal file. This causes a pattern
match failure.
* guix/import/hackage.scm (latest-release): Match version at beginning
of expression too.
2023-02-26 10:19:35 +01:00
Leo Famulari
c08e9599ef
gnu: linux-libre 4.14: Update to 4.14.307.
...
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.307.
(linux-libre-4.14-pristine-source): Update hash.
2023-02-26 04:06:39 -05:00
Leo Famulari
84377ee736
gnu: linux-libre 4.19: Update to 4.19.274.
...
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.274.
(linux-libre-4.19-pristine-source): Update hash.
2023-02-26 04:06:38 -05:00