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
Leo Famulari
c2f9ae0bf9
gnu: linux-libre 5.4: Update to 5.4.233.
...
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.233.
(linux-libre-5.4-pristine-source): Update hash.
2023-02-26 04:06:38 -05:00
Leo Famulari
5d82eecb21
gnu: linux-libre 5.10: Update to 5.10.170.
...
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.170.
(linux-libre-5.10-pristine-source): Update hash.
2023-02-26 04:06:38 -05:00
Leo Famulari
fa8c1044ff
gnu: linux-libre 5.15: Update to 5.15.96.
...
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.96.
(linux-libre-5.15-pristine-source): Update hash.
2023-02-26 04:06:38 -05:00
Leo Famulari
b75969a032
gnu: linux-libre: Update to 6.1.14.
...
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.14.
(linux-libre-6.1-pristine-source): Update hash.
2023-02-26 04:06:32 -05:00
Vagrant Cascadian
128a55ad9f
gnu: libssh: Update to 0.10.4.
...
* gnu/packages/ssh.scm (libssh): Update to 0.10.4.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-26 08:52:58 +01:00
Liliana Marie Prikler
525e5be3c5
gnu: xpadneo: Update to 0.9.5.
...
* gnu/packages/linux.scm (xpadneo): Update to 0.9.5.
2023-02-26 08:52:58 +01:00
Liliana Marie Prikler
d529be6abb
gnu: emacs-next: Update to 29.0.60-1.f1f571e.
...
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e.
2023-02-26 08:51:56 +01:00
Liliana Marie Prikler
420cf2bf2a
gnu: Add emacs-next-tree-sitter.
...
* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
(emacs-next): Remove tree sitter support.
2023-02-26 08:51:55 +01:00
Maxim Cournoyer
cb0d8100b2
.patman: Ignore bad tags.
...
The feature is not used in Guix, and it produces extraneous warnings.
* .patman (ignore_bad_tags): Set option to True.
2023-02-25 23:10:59 -05:00
Michael Rohleder
a7c7363a82
gnu: gparted: Update to 1.5.0.
...
* gnu/packages/disk.scm (gparted): Update to 1.5.0.
Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-25 21:45:34 -05:00
Bruno Victal
9a2cf9ef0a
gnu: ethtool: Update to 6.2.
...
* gnu/packages/networking.scm (ethtool): Update to 6.2.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-19 01:00:00 +01:00
Simon Streit
1dac5b2157
gnu: virglrenderer: Update to 0.10.4.
...
* gnu/packages/spice.scm (virglrenderer): Update to 0.10.4.
[source]: Use git-fetch and update URI.
[build-system] Change to meson-build-system.
[inputs]: Remove eudev.
[native-inputs]: Add python.
[home-page]: Update URL.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 15:03:49 -05:00
Maxim Cournoyer
61f691fdfb
cpio: Properly handle Unicode characters in file names.
...
Fixes <https://issues.guix.gnu.org/61722 >.
* guix/cpio.scm (file->cpio-header): Compute the file name length in bytes rather than in
characters.
(file->cpio-header*, special-file->cpio-header*): Likewise.
(write-cpio-archive): Likewise, and write the file name as UTF-8 bytes, not
textually, to avoid encoding it as ISO-8859-1.
2023-02-25 14:50:33 -05:00
Maxim Cournoyer
bbc10628b6
gnu: spice-gtk: Adjust the default file name of the ACL helper binary.
...
* gnu/packages/spice.scm (spice-gtk)
[arguments]: Add adjust-default-acl-helper-path phase.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:55 -05:00
Maxim Cournoyer
e403096b4a
gnu: gnome-boxes: Mention extra configuration requirements.
...
* gnu/packages/gnome.scm (gnome-boxes) [description]: Mention about extending
polkit and setuid services with spice-gtk.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:55 -05:00
Maxim Cournoyer
dd31263eb4
services: gnome-desktop-service-type: Extend setuid-program-service-type.
...
* gnu/services/desktop.scm (gnome-setuid-programs): New variable.
(gnome-desktop-service-type): Extend setuid-program-service-type with it.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:55 -05:00
Maxim Cournoyer
abadd0f81f
services: desktop: Extract a new gnome-package procedure.
...
* gnu/services/desktop.scm (<gnome-desktop-configuration>): Rename gnome
package accessor to gnome-desktop-configuration-gnome, to avoid name conflict.
(gnome-packages): Change first argument from a config object to a the gnome
package used. Rename second argument from package to name. Extract core
logic into...
(gnome-package): ... this.
(gnome-udev-rules, gnome-polkit-settings): Adjust accordingly.
(gnome-desktop-service-type): Likewise.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:54 -05:00
Maxim Cournoyer
acbb112c1b
services: gnome-polkit-settings: Add spice-gtk.
...
* gnu/services/desktop.scm (gnome-polkit-settings): Add spice-gtk to the GNOME
packages providing polkit rules.
(package-direct-input-selector): Allow passing a list corresponding to the
dependency tree, so that non-propagated transitive inputs can be specified.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:54 -05:00
Maxim Cournoyer
a02189e4ca
gnu: gnome-boxes: Update to 43.3.
...
* gnu/packages/gnome.scm (gnome-boxes): Update to 43.3.
[arguments]: Remove configure-flags. Adjust disable-gtk-update-icon-cache
phase.
[inputs]: Replace gtk+ with gtk, libsoup-minimal-2 with libsoup,
webkitgtk-with-libsoup2 with webkitgtk.
[native-inputs]: Replace vala with vala-next.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:54 -05:00
Maxim Cournoyer
542e9060fe
gnu: osinfo-db: Use libsoup 3.
...
* gnu/packages/virtualization.scm (libosinfo) [inputs]: Replace libsoup2 with libsoup.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:54 -05:00
Maxim Cournoyer
27ae83f5f0
gnu: spice-gtk: Enable support for polkit, webdav and others.
...
* gnu/packages/spice.scm (spice-gtk) [arguments]: Add the correct-polkit-dir
and fake-pkexec phases.
[inputs]: Add acl, cyrus-sasl, libcap-ng, polkit and usbutils.
[propagated-inputs]: Add libcacard and phodav.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:54 -05:00
Maxim Cournoyer
9582f49a0c
gnu: phodav: Propagate glib, libsoup and libxml2.
...
* gnu/packages/gnome.scm (phodav) [inputs]: Move libsoup to...
[propagated-inputs]: ... here. Add glib and libxml2.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:53 -05:00
Maxim Cournoyer
5219284621
gnu: usbutils: Update to 015.
...
* gnu/packages/linux.scm (usbutils): Update to 015.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25 14:46:53 -05:00