aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-26gnu: shellcheck: Drop Haskell libraries.Lars-Dominik Braun
* gnu/packages/haskell-apps.scm (shellcheck)[arguments]: Add 'remove-libraries phase.
2023-02-26gnu: git-annex: Drop Haskell documentation.Lars-Dominik Braun
* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Disable #:haddock?.
2023-02-26gnu: darcs: Drop Haskell libraries and documentation.Lars-Dominik Braun
* gnu/packages/haskell-apps.scm (darcs)[arguments]: Add 'remove-libraries phase and disable #:haddock?.
2023-02-26gnu: hledger: Drop Haskell libraries and documentation.Lars-Dominik Braun
* gnu/packages/finance.scm (ghc-hledger): New variable. (hledger): Inherit from ghc-hledger and add 'remove-libraries phase and disable #:haddock?.
2023-02-26gnu: ngless: Drop Haskell libraries and documentation.Lars-Dominik Braun
* gnu/packages/bioinformatics.scm (ngless)[arguments]: Add 'remove-libraries phase and disable #:haddock?.
2023-02-26build: haskell-build-system: Build static executables by default.Lars-Dominik Braun
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-26gnu: ghc-lua: Disable symbol export.Lars-Dominik Braun
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-26gnu: ghc-9.2: Support static linking with glibc < 2.34.Lars-Dominik Braun
* 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-26build-system: haskell: Drop default "static" output.Lars-Dominik Braun
* 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-26gnu: elm: Support GHC 9.2.Lars-Dominik Braun
* 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-26gnu: idris: Fix overly zealous regular expression.Lars-Dominik Braun
* gnu/packages/idris.scm (idris)[arguments]: Limit characters matched after package name in cabal file substitutions.
2023-02-26gnu: ghc-parsec: Update to 3.1.15.0.Lars-Dominik Braun
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-26gnu: Remove unused Haskell packages.Lars-Dominik Braun
* 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-26gnu: ghc-9.2: Increase make verbosity.Lars-Dominik Braun
Tests time out on ci.guix.gnu.org. * gnu/packages/haskell.scm (ghc-9.2)[arguments]: Modify #:make-flags.
2023-02-26Upgrade Haskell packages.Lars-Dominik Braun
Script-aided bulk change.
2023-02-26build: haskell-build-system: Remove unused linker flags.Lars-Dominik Braun
They were inserted as-is, without expandind variables into binaries. * guix/build/haskell-build-system.scm (configure): Remove --ghc-option.
2023-02-26build: haskell-build-system: Process all transitive dependencies.Lars-Dominik Braun
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-26import: haskell: Add new internal library for GHC 9.2.Lars-Dominik Braun
* guix/import/hackage.scm (ghc-standard-libraries): Add ghc-bignum.
2023-02-26gnu: Use HACKAGE-URI for packages from Hackage.Lars-Dominik Braun
Script-aided bulk change.
2023-02-26import: hackage: Use upstream-name property.Lars-Dominik Braun
* 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-26gnu: Add upstream-name property to Haskell packages.Lars-Dominik Braun
Script-aided bulk change.
2023-02-26import: hackage: Add upstream-name property.Lars-Dominik Braun
* 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-26import: stackage: Update to release 20.5.Lars-Dominik Braun
* guix/import/stackage.scm (%default-lts-version): Update to 20.5.
2023-02-26gnu: Switch default to GHC 9.2.Lars-Dominik Braun
* gnu/packages/haskell.scm (ghc-9.0): Rename to just “ghc”. (ghc-9.2): Ditto. (ghc): Use ghc-9.2.
2023-02-26build: haskell-build-system: Support multiple libraries.Philip Munksgaard
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-26build: haskell-build-system: Remove trailing #t.zimoun
* 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-26import: hackage: Allow version at the beginning of cabal file.Lars-Dominik Braun
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-26gnu: linux-libre 4.14: Update to 4.14.307.Leo Famulari
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.307. (linux-libre-4.14-pristine-source): Update hash.
2023-02-26gnu: linux-libre 4.19: Update to 4.19.274.Leo Famulari
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.274. (linux-libre-4.19-pristine-source): Update hash.
2023-02-26gnu: linux-libre 5.4: Update to 5.4.233.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.233. (linux-libre-5.4-pristine-source): Update hash.
2023-02-26gnu: linux-libre 5.10: Update to 5.10.170.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.170. (linux-libre-5.10-pristine-source): Update hash.
2023-02-26gnu: linux-libre 5.15: Update to 5.15.96.Leo Famulari
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.96. (linux-libre-5.15-pristine-source): Update hash.
2023-02-26gnu: linux-libre: Update to 6.1.14.Leo Famulari
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.14. (linux-libre-6.1-pristine-source): Update hash.
2023-02-26gnu: libssh: Update to 0.10.4.Vagrant Cascadian
* gnu/packages/ssh.scm (libssh): Update to 0.10.4. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-26gnu: xpadneo: Update to 0.9.5.Liliana Marie Prikler
* gnu/packages/linux.scm (xpadneo): Update to 0.9.5.
2023-02-26gnu: emacs-next: Update to 29.0.60-1.f1f571e.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e.
2023-02-26gnu: Add emacs-next-tree-sitter.Liliana Marie Prikler
* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable. (emacs-next): Remove tree sitter support.
2023-02-25.patman: Ignore bad tags.Maxim Cournoyer
The feature is not used in Guix, and it produces extraneous warnings. * .patman (ignore_bad_tags): Set option to True.
2023-02-25gnu: gparted: Update to 1.5.0.Michael Rohleder
* gnu/packages/disk.scm (gparted): Update to 1.5.0. Signed-off-by: Leo Famulari <leo@famulari.name>
2023-02-19gnu: ethtool: Update to 6.2.Bruno Victal
* gnu/packages/networking.scm (ethtool): Update to 6.2. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2023-02-25gnu: virglrenderer: Update to 0.10.4.Simon Streit
* 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-25cpio: Properly handle Unicode characters in file names.Maxim Cournoyer
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-25gnu: spice-gtk: Adjust the default file name of the ACL helper binary.Maxim Cournoyer
* 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-25gnu: gnome-boxes: Mention extra configuration requirements.Maxim Cournoyer
* 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-25services: gnome-desktop-service-type: Extend setuid-program-service-type.Maxim Cournoyer
* 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-25services: desktop: Extract a new gnome-package procedure.Maxim Cournoyer
* 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-25services: gnome-polkit-settings: Add spice-gtk.Maxim Cournoyer
* 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-25gnu: gnome-boxes: Update to 43.3.Maxim Cournoyer
* 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-25gnu: osinfo-db: Use libsoup 3.Maxim Cournoyer
* gnu/packages/virtualization.scm (libosinfo) [inputs]: Replace libsoup2 with libsoup. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-02-25gnu: spice-gtk: Enable support for polkit, webdav and others.Maxim Cournoyer
* 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>