jackhill/guix/guix.git
14 months agognu: hyfetch: Update to 1.4.7.
Hilton Chain [Sun, 19 Feb 2023 07:51:30 +0000 (15:51 +0800)]
gnu: hyfetch: Update to 1.4.7.

* gnu/packages/admin.scm (hyfetch): Update to 1.4.7.
* gnu/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch,
* gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch: Remove files.
* gnu/local.mk (dist_patch_DATA): Remove them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agoui: 'display-hint' quotes extra arguments for Texinfo.
Ludovic Courtès [Fri, 24 Feb 2023 10:15:45 +0000 (11:15 +0100)]
ui: 'display-hint' quotes extra arguments for Texinfo.

Fixes <https://issues.guix.gnu.org/61201>.

Previously, common practice was to splice arbitrary strings (user names,
file names, etc.) into Texinfo snippets passed to 'display-hint'.  This
is unsafe in the general case because at signs and braces need to be
escaped to produced valid Texinfo.  This commit addresses that.

* guix/ui.scm (texinfo-quote): New procedure.
(display-hint): When ARGUMENTS is non-empty, pass it to 'texinfo-quote'
and call 'format'.
(report-unbound-variable-error, check-module-matches-file)
(display-collision-resolution-hint, run-guix-command): Remove explicit
'format' call; pass 'format' arguments as extra arguments to 'display-hint'.
* gnu/services/monitoring.scm (zabbix-front-end-config): Likewise.
* guix/scripts.scm (warn-about-disk-space): Likewise.
* guix/scripts/build.scm (%standard-cross-build-options)
(%standard-native-build-options): Likewise.
* guix/scripts/describe.scm (display-checkout-info): Likewise.
* guix/scripts/environment.scm (suggest-command-name): Likewise.
* guix/scripts/home.scm (process-command): Likewise.
* guix/scripts/home/edit.scm (service-type-not-found): Likewise.
* guix/scripts/import.scm (guix-import): Likewise.
* guix/scripts/package.scm (display-search-path-hint): Likewise.
* guix/scripts/pull.scm (build-and-install): Likewise.
* guix/scripts/shell.scm (auto-detect-manifest): Likewise.
* guix/scripts/system.scm (check-file-system-availability): Likewise.
(guix-system): Likewise.
* guix/scripts/system/edit.scm (service-type-not-found): Likewise.
* guix/status.scm (print-build-event): Likewise.

14 months agopack: Adjust shell tests to read-only tarball root.
Ludovic Courtès [Mon, 27 Feb 2023 22:20:26 +0000 (23:20 +0100)]
pack: Adjust shell tests to read-only tarball root.

Fixes <https://issues.guix.gnu.org/61853>.

Fixes a regression introduced in
68380db4c40a2ee1156349a87254fd7b1f1a52d5, whereby the tarball's root
entry is now read-only, due to the creation of "profile-directory" in
the store.

* tests/guix-pack.sh: Remove and recreate $test_directory before
transformation option test.
* tests/guix-pack-relocatable.sh: Add "chmod +w $test_directory" lines
before attempts to write to it.

14 months agognu: sugar-toolkit-gtk3: Propagate missing inputs.
Ricardo Wurmus [Mon, 27 Feb 2023 22:15:51 +0000 (23:15 +0100)]
gnu: sugar-toolkit-gtk3: Propagate missing inputs.

* gnu/packages/sugar.scm (sugar-toolkit-gtk3)[propagated-inputs]: Add
telepathy-glib and webkitgtk-with-libsoup2.

14 months agognu: opencl-headers, opencl-clhpp and opencl-icd-loader: Update to 2023.02.06
Andy Tai [Mon, 27 Feb 2023 06:39:58 +0000 (22:39 -0800)]
gnu: opencl-headers, opencl-clhpp and opencl-icd-loader: Update to 2023.02.06

These packages should be updated together.

* gnu/packages/opencl.scm (opencl-clhpp): Update to 2023.02.06.
[arguments]: Add configure flag to disable CTest building that cause errors as
tests are meant to be disabled.
(opencl-headers): Update to 2023.02.06.
(opencl-icd-loader): Update to 2023.02.06.

Signed-off-by: Leo Famulari <leo@famulari.name>
14 months agognu: parallel: Update to 20230222
Andy Tai [Mon, 27 Feb 2023 16:08:35 +0000 (08:08 -0800)]
gnu: parallel: Update to 20230222

* gnu/packages/parallel.scm (parallel): Update to 20230222

Signed-off-by: Leo Famulari <leo@famulari.name>
14 months agognu: Add r-msa.
Ricardo Wurmus [Mon, 27 Feb 2023 19:28:53 +0000 (20:28 +0100)]
gnu: Add r-msa.

* gnu/packages/bioconductor.scm (r-msa): New variable.

14 months agognu: ghc: Disable failing test on i686
Lars-Dominik Braun [Mon, 27 Feb 2023 18:49:03 +0000 (19:49 +0100)]
gnu: ghc: Disable failing test on i686

Conditionally, so we don’t rebuild GHC on amd64.

* gnu/packages/haskell.scm (ghc-9.2)[arguments]: Conditionally add phase
'skip-T21694-i686.

14 months agognu: sudo: Update to 1.9.13p2.
Tobias Geerinckx-Rice [Sun, 26 Feb 2023 00:00:01 +0000 (01:00 +0100)]
gnu: sudo: Update to 1.9.13p2.

* gnu/packages/admin.scm (sudo): Update to 1.9.13p2.

14 months agognu: Add sugar-typing-turtle-activity.
Ricardo Wurmus [Mon, 27 Feb 2023 15:46:06 +0000 (16:46 +0100)]
gnu: Add sugar-typing-turtle-activity.

* gnu/packages/sugar.scm (sugar-typing-turtle-activity): New variable.

14 months agognu: Add sugar-help-activity.
Ricardo Wurmus [Mon, 27 Feb 2023 15:13:04 +0000 (16:13 +0100)]
gnu: Add sugar-help-activity.

* gnu/packages/sugar.scm (sugar-help-activity): New variable.

14 months agognu: sugar: Add missing inputs.
Ricardo Wurmus [Mon, 27 Feb 2023 15:12:18 +0000 (16:12 +0100)]
gnu: sugar: Add missing inputs.

* gnu/packages/sugar.scm (sugar)[propagated-inputs]: Add
gsettings-desktop-schemas, telepathy-mission-control, and upower.

14 months agognu: sugar: Propagate sugar packages.
Ricardo Wurmus [Mon, 27 Feb 2023 15:11:40 +0000 (16:11 +0100)]
gnu: sugar: Propagate sugar packages.

* gnu/packages/sugar.scm (sugar)[inputs]: Move sugar-artwork and
sugar-datastore from here...
[propagated-inputs]: ...to here.

14 months agognu: sugar: Patch brightness module.
Ricardo Wurmus [Mon, 27 Feb 2023 15:10:45 +0000 (16:10 +0100)]
gnu: sugar: Patch brightness module.

* gnu/packages/sugar.scm (sugar)[arguments]: Fix syntax error; disable
brightness module.

14 months agognu: sugar-toolkit-gtk3: Add missing inputs.
Ricardo Wurmus [Mon, 27 Feb 2023 15:10:09 +0000 (16:10 +0100)]
gnu: sugar-toolkit-gtk3: Add missing inputs.

* gnu/packages/sugar.scm (sugar-toolkit-gtk3)[propagated-inputs]: Add
gstreamer and gst-plugins-espeak.

14 months agognu: sugar: Patch global location of Sugar activities.
Ricardo Wurmus [Mon, 27 Feb 2023 15:08:56 +0000 (16:08 +0100)]
gnu: sugar: Patch global location of Sugar activities.

* gnu/packages/sugar.scm (sugar)[arguments]: Update build phase
'fix-references to patch activities directory.

14 months agognu: Add gst-plugins-espeak.
Ricardo Wurmus [Mon, 27 Feb 2023 15:07:28 +0000 (16:07 +0100)]
gnu: Add gst-plugins-espeak.

* gnu/packages/gstreamer.scm (gst-plugins-espeak): New variable.

14 months agognu: hwloc: Skip failing test on non-x86 systems.
Simon South [Mon, 13 Feb 2023 21:01:12 +0000 (16:01 -0500)]
gnu: hwloc: Skip failing test on non-x86 systems.

* gnu/packages/mpi.scm (hwloc-2)[arguments]<#:phases>: Rename
"skip-test-that-requires-/sys" phase to "skip-tests-that-require-/sys" and
expand to skip additional test requiring /sys on non-x86 systems.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agognu: hwloc: Remove obsolete comments.
Simon South [Mon, 13 Feb 2023 21:01:11 +0000 (16:01 -0500)]
gnu: hwloc: Remove obsolete comments.

hwloc 2.x become the default with commit 8ec7ca22d3, "gnu: hwloc: Default to
2.x.".

* gnu/packages/mpi.scm (hwloc-1): Remove obsolete comment.
(hwloc-2): Remove obsolete comment.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agognu: nvme-cli: Update to 2.3.
Bruno Victal [Fri, 10 Feb 2023 15:06:54 +0000 (15:06 +0000)]
gnu: nvme-cli: Update to 2.3.

* gnu/packages/linux.scm (nvme-cli): Update to 2.3.
[build-system]: Switch to meson-build-system.
[arguments]: Remove stages. Build documentation.
[native-inputs]: Add pkg-config.
[inputs]: Add libnvme, json-c and zlib.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agognu: Add libnvme.
Bruno Victal [Fri, 10 Feb 2023 15:06:53 +0000 (15:06 +0000)]
gnu: Add libnvme.

* gnu/packages/linux.scm (libnvme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agognu: podman: Update to 4.4.1.
Hilton Chain [Thu, 9 Feb 2023 08:43:02 +0000 (16:43 +0800)]
gnu: podman: Update to 4.4.1.

* gnu/packages/containers.scm (podman): Update to 4.4.1.
[native-inputs]: Replace go to go-1.19.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agognu: Add font-microsoft-cascadia.
Jake Leporte [Mon, 27 Feb 2023 00:47:41 +0000 (18:47 -0600)]
gnu: Add font-microsoft-cascadia.

* gnu/packages/fonts.scm (font-microsoft-cascadia): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agognu: Add scheme48-prescheme.
Andrew Whatson [Fri, 10 Feb 2023 14:29:31 +0000 (00:29 +1000)]
gnu: Add scheme48-prescheme.

* gnu/packages/scheme.scm (scheme48-prescheme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agoscripts: repl: Extend REPL %load-path with all channels.
Simon Tournier [Fri, 17 Feb 2023 14:56:27 +0000 (15:56 +0100)]
scripts: repl: Extend REPL %load-path with all channels.

Fixes <https://bugs.gnu.org/61343>.
Reported by 宋文武 <iyzsong@envs.net>.

* guix/scripts/repl.scm (define-command): Before starting the REPL,
call 'current-profile' to populate (%package-module-path).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
14 months agogexp: computed-file: Do not honor %guile-for-build.
Ludovic Courtès [Mon, 27 Feb 2023 13:39:22 +0000 (14:39 +0100)]
gexp: computed-file: Do not honor %guile-for-build.

This reverts commit 68775338a510f84e63657ab09242d79e726fa457.
Fixes <https://issues.guix.gnu.org/61841>.

(%guile-for-build) is a derivation for a specific system,
whereas (default-guile) is a system-independent package.  It's crucial
to preserve this distinction.

See discussion at <https://issues.guix.gnu.org/61255#29>.

* guix/gexp.scm (computed-file-compiler): Honor (default-guile),
not (%guile-for-build).

14 months agopack: Make sure tests can run without a world rebuild.
Ludovic Courtès [Mon, 27 Feb 2023 14:35:54 +0000 (15:35 +0100)]
pack: Make sure tests can run without a world rebuild.

Commit 68380db4c40a2ee1156349a87254fd7b1f1a52d5 moved from
'gexp->derivation', which as a side effect, would lead tests to require
a "world rebuild"--specifically, they'd have to build (default-guile).

This was mitigated by 68775338a510f84e63657ab09242d79e726fa457, but that
change introduced another regression.

* guix/scripts/pack.scm (populate-profile-root): Define 'bootstrap?'.
Pass #:guile to 'computed-file', with a value depending on 'bootstrap?'.
* tests/pack.scm ("self-contained-tarball + localstatedir")
("docker-image + localstatedir", "squashfs-image + localstatedir")
("deb archive with symlinks and control files")
("rpm archive can be installed/uninstalled"): Use a <profile> record
instead of a derivation.

14 months agognu: dpkg: Update to 1.21.21.
Efraim Flashner [Mon, 27 Feb 2023 13:07:32 +0000 (15:07 +0200)]
gnu: dpkg: Update to 1.21.21.

* gnu/packages/debian.scm (dpkg): Update to 1.21.21.

14 months agognu: debootstrap: Update to 1.0.128.
Efraim Flashner [Mon, 27 Feb 2023 13:06:59 +0000 (15:06 +0200)]
gnu: debootstrap: Update to 1.0.128.

* gnu/packages/debian.scm (debootstrap): Update to 1.0.128.

14 months agognu: debian-ports-archive-keyring: Update to 2023.02.21.
Efraim Flashner [Mon, 27 Feb 2023 13:06:20 +0000 (15:06 +0200)]
gnu: debian-ports-archive-keyring: Update to 2023.02.21.

* gnu/packages/debian.scm (debian-ports-archive-keyring): Update to
2023.02.01.
[arguments]: Remove trailing #t from phases.

14 months agognu: Add cl-calm.
Sharlatan Hellseher [Fri, 24 Feb 2023 22:23:49 +0000 (22:23 +0000)]
gnu: Add cl-calm.

* gnu/packages/lisp-xyz.scm (cl-calm, ecl-calm, sbcl-calm): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
14 months agognu: Add cl-cairo2.
Sharlatan Hellseher [Fri, 24 Feb 2023 22:23:48 +0000 (22:23 +0000)]
gnu: Add cl-cairo2.

* gnu/packages/lisp-xyz.scm (cl-cairo2, ecl-cl-cairo2, sbcl-cl-cairo2):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
14 months agognu: Add cl-sdl2-mixer.
Sharlatan Hellseher [Fri, 24 Feb 2023 22:23:47 +0000 (22:23 +0000)]
gnu: Add cl-sdl2-mixer.

* gnu/packages/lisp-xyz.scm (cl-sdl2-mixer, ecl-sdl2-mixer,
  sbcl-sdl2-mixer): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
14 months agognu: cl-sdl2: Remove input labels.
Sharlatan Hellseher [Fri, 24 Feb 2023 22:23:46 +0000 (22:23 +0000)]
gnu: cl-sdl2: Remove input labels.

* gnu/packages/lisp.scm (sbcl-sdl2):
  [arguments]{asd-systems}: Add sdl2/examples.
  {phases}<fix-path>: Remove trailing #f from lambda, use
  search-input-file to link SO library.
  [inputs]: Remove labels, add sbcl-cl-opengl.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
14 months agognu: cl-sdl2: Update to 0.0.0-2.80410b5.
Sharlatan Hellseher [Fri, 24 Feb 2023 22:23:45 +0000 (22:23 +0000)]
gnu: cl-sdl2: Update to 0.0.0-2.80410b5.

* gnu/packages/lisp-xyz.scm (sbcl-sdl2): Update to 0.0.0-2.80410b5.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
14 months agognu: Fix openmpi related packages.
Christopher Baines [Mon, 27 Feb 2023 09:34:09 +0000 (09:34 +0000)]
gnu: Fix openmpi related packages.

This makes these package definitions compatible with the openmpi package which
uses gexps as of f45fc72c282bc14da7212b4acb8fe9707e53aad0.

* gnu/packages/mpi.scm (openmpi-c++, java-openmpi,
openmpi-thread-multiple)[arguments]: Use gexps.

14 months agognu: Remove emacs-transient from propagated-inputs.
Andrew Tropin [Mon, 27 Feb 2023 03:25:10 +0000 (07:25 +0400)]
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.

14 months agognu: texlive-apa6: Update reference to deprecated package.
Ludovic Courtès [Mon, 27 Feb 2023 00:17:04 +0000 (01:17 +0100)]
gnu: texlive-apa6: Update reference to deprecated package.

* gnu/packages/tex.scm (texlive-apa6)[inputs]: Replace
'texlive-generic-xstring' with 'texlive-xstring'.

14 months agognu: libssh: Fix compilation on GNU/Hurd.
Ludovic Courtès [Mon, 27 Feb 2023 00:04:03 +0000 (01:04 +0100)]
gnu: libssh: Fix compilation on GNU/Hurd.

* gnu/packages/ssh.scm (libssh)[source]: Add snippet.

14 months agognu: perl-encode: Update to 3.19 [fixes CVE-2021-36770].
Bruno Victal [Sun, 26 Feb 2023 18:29:55 +0000 (18:29 +0000)]
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>
14 months agognu: Add actionlint.
Timo Wilken [Sun, 26 Feb 2023 19:13:21 +0000 (20:13 +0100)]
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>
14 months agognu: Add go-github-com-robfig-cron-1.2.
Timo Wilken [Sun, 26 Feb 2023 19:13:20 +0000 (20:13 +0100)]
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>
14 months agognu: Add go-golang.org-x-sync-semaphore.
Timo Wilken [Sun, 26 Feb 2023 19:13:19 +0000 (20:13 +0100)]
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>
14 months agognu: clamav: Update to 0.103.8 [security fixes].
kiasoc5 [Sun, 26 Feb 2023 06:18:27 +0000 (01:18 -0500)]
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>
14 months agognu: nano: Update to 7.2.
Vasile Dumitrascu via Guix-patches via [Sun, 26 Feb 2023 11:59:51 +0000 (12:59 +0100)]
gnu: nano: Update to 7.2.

* gnu/packages/nano.scm (nano): Update to 7.2.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
14 months agognu: perl-cgi: Update to 4.55
Vasile Dumitrascu via Guix-patches via [Sun, 26 Feb 2023 10:30:24 +0000 (11:30 +0100)]
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>
14 months agognu: mpg123: Update to 1.31.2.
Vasile Dumitrascu via Guix-patches via [Sun, 26 Feb 2023 10:55:37 +0000 (11:55 +0100)]
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>
14 months agognu: simple-scan: Update to 42.5.
Vasile Dumitrascu via Guix-patches via [Sun, 26 Feb 2023 11:11:30 +0000 (12:11 +0100)]
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>
14 months agognu: network-manager-applet: Update to 1.30.0.
Vasile Dumitrascu via Guix-patches via [Sun, 26 Feb 2023 11:20:02 +0000 (12:20 +0100)]
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>
14 months agognu: xarchiver: Update to 0.5.4.20.
Vasile Dumitrascu via Guix-patches via [Sun, 26 Feb 2023 11:43:01 +0000 (12:43 +0100)]
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>
14 months agognu: adwaita-icon-theme: Update to 43.
Vasile Dumitrascu via Guix-patches via [Sun, 26 Feb 2023 11:51:50 +0000 (12:51 +0100)]
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>
14 months agognu: moe: Update to 1.13.
Efraim Flashner [Sun, 26 Feb 2023 10:45:09 +0000 (12:45 +0200)]
gnu: moe: Update to 1.13.

* gnu/packages/moe.scm (moe): Update to 1.13.

14 months agognu: idris: Adapt to changed haskell-build-system.
Lars-Dominik Braun [Sat, 11 Feb 2023 08:48:06 +0000 (09:48 +0100)]
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.

14 months agognu: xmobar: Drop Haskell libraries and documentation.
Lars-Dominik Braun [Sun, 29 Jan 2023 18:00:57 +0000 (19:00 +0100)]
gnu: xmobar: Drop Haskell libraries and documentation.

* gnu/packages/wm.scm (xmobar)[arguments]: Add
'remove-libraries phase and disable #:haddock?.

14 months agognu: purescript: Drop Haskell libraries and documentation.
Lars-Dominik Braun [Sun, 29 Jan 2023 18:00:31 +0000 (19:00 +0100)]
gnu: purescript: Drop Haskell libraries and documentation.

* gnu/packages/purescript.scm (purescript)[arguments]: Add
'remove-libraries phase and disable #:haddock?.

14 months agognu: pandoc: Drop Haskell libraries and documentation.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:57:48 +0000 (18:57 +0100)]
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?.

14 months agognu: shellcheck: Drop Haskell libraries.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:57:15 +0000 (18:57 +0100)]
gnu: shellcheck: Drop Haskell libraries.

* gnu/packages/haskell-apps.scm (shellcheck)[arguments]: Add
'remove-libraries phase.

14 months agognu: git-annex: Drop Haskell documentation.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:56:05 +0000 (18:56 +0100)]
gnu: git-annex: Drop Haskell documentation.

* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Disable #:haddock?.

14 months agognu: darcs: Drop Haskell libraries and documentation.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:55:28 +0000 (18:55 +0100)]
gnu: darcs: Drop Haskell libraries and documentation.

* gnu/packages/haskell-apps.scm (darcs)[arguments]: Add
'remove-libraries phase and disable #:haddock?.

14 months agognu: hledger: Drop Haskell libraries and documentation.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:54:15 +0000 (18:54 +0100)]
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?.

14 months agognu: ngless: Drop Haskell libraries and documentation.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:52:58 +0000 (18:52 +0100)]
gnu: ngless: Drop Haskell libraries and documentation.

* gnu/packages/bioinformatics.scm (ngless)[arguments]: Add
'remove-libraries phase and disable #:haddock?.

14 months agobuild: haskell-build-system: Build static executables by default.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:50:10 +0000 (18:50 +0100)]
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.

14 months agognu: ghc-lua: Disable symbol export.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:58:45 +0000 (18:58 +0100)]
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.

14 months agognu: ghc-9.2: Support static linking with glibc < 2.34.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:45:45 +0000 (18:45 +0100)]
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.

14 months agobuild-system: haskell: Drop default "static" output.
Lars-Dominik Braun [Sun, 29 Jan 2023 17:43:05 +0000 (18:43 +0100)]
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.

14 months agognu: elm: Support GHC 9.2.
Lars-Dominik Braun [Wed, 25 Jan 2023 12:03:43 +0000 (13:03 +0100)]
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.

14 months agognu: idris: Fix overly zealous regular expression.
Lars-Dominik Braun [Wed, 25 Jan 2023 09:01:36 +0000 (10:01 +0100)]
gnu: idris: Fix overly zealous regular expression.

* gnu/packages/idris.scm (idris)[arguments]: Limit characters matched
after package name in cabal file substitutions.

14 months agognu: ghc-parsec: Update to 3.1.15.0.
Lars-Dominik Braun [Wed, 25 Jan 2023 08:35:11 +0000 (09:35 +0100)]
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.

14 months agognu: Remove unused Haskell packages.
Lars-Dominik Braun [Wed, 25 Jan 2023 08:27:32 +0000 (09:27 +0100)]
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.

14 months agognu: ghc-9.2: Increase make verbosity.
Lars-Dominik Braun [Tue, 24 Jan 2023 11:27:21 +0000 (12:27 +0100)]
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.

14 months agoUpgrade Haskell packages.
Lars-Dominik Braun [Sun, 15 Jan 2023 09:09:44 +0000 (10:09 +0100)]
Upgrade Haskell packages.

Script-aided bulk change.

14 months agobuild: haskell-build-system: Remove unused linker flags.
Lars-Dominik Braun [Fri, 20 Jan 2023 15:57:27 +0000 (16:57 +0100)]
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.

14 months agobuild: haskell-build-system: Process all transitive dependencies.
Lars-Dominik Braun [Fri, 6 Jan 2023 11:46:26 +0000 (12:46 +0100)]
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.

14 months agoimport: haskell: Add new internal library for GHC 9.2.
Lars-Dominik Braun [Fri, 6 Jan 2023 09:11:28 +0000 (10:11 +0100)]
import: haskell: Add new internal library for GHC 9.2.

* guix/import/hackage.scm (ghc-standard-libraries): Add ghc-bignum.

14 months agognu: Use HACKAGE-URI for packages from Hackage.
Lars-Dominik Braun [Thu, 5 Jan 2023 07:59:52 +0000 (08:59 +0100)]
gnu: Use HACKAGE-URI for packages from Hackage.

Script-aided bulk change.

14 months agoimport: hackage: Use upstream-name property.
Lars-Dominik Braun [Wed, 4 Jan 2023 08:37:26 +0000 (09:37 +0100)]
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.

14 months agognu: Add upstream-name property to Haskell packages.
Lars-Dominik Braun [Wed, 4 Jan 2023 08:37:26 +0000 (09:37 +0100)]
gnu: Add upstream-name property to Haskell packages.

Script-aided bulk change.

14 months agoimport: hackage: Add upstream-name property.
Lars-Dominik Braun [Wed, 4 Jan 2023 08:37:25 +0000 (09:37 +0100)]
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.

14 months agoimport: stackage: Update to release 20.5.
Lars-Dominik Braun [Sun, 8 May 2022 11:55:07 +0000 (13:55 +0200)]
import: stackage: Update to release 20.5.

* guix/import/stackage.scm (%default-lts-version): Update to 20.5.

14 months agognu: Switch default to GHC 9.2.
Lars-Dominik Braun [Sat, 31 Dec 2022 11:25:49 +0000 (12:25 +0100)]
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.

14 months agobuild: haskell-build-system: Support multiple libraries.
Philip Munksgaard [Wed, 6 Apr 2022 19:19:08 +0000 (21:19 +0200)]
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>
14 months agobuild: haskell-build-system: Remove trailing #t.
zimoun [Wed, 6 Apr 2022 19:19:07 +0000 (21:19 +0200)]
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>
14 months agoimport: hackage: Allow version at the beginning of cabal file.
Lars-Dominik Braun [Sat, 11 Jun 2022 09:02:52 +0000 (11:02 +0200)]
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.

14 months agognu: linux-libre 4.14: Update to 4.14.307.
Leo Famulari [Sun, 26 Feb 2023 00:24:31 +0000 (19:24 -0500)]
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.

14 months agognu: linux-libre 4.19: Update to 4.19.274.
Leo Famulari [Sun, 26 Feb 2023 00:24:17 +0000 (19:24 -0500)]
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.

14 months agognu: linux-libre 5.4: Update to 5.4.233.
Leo Famulari [Sun, 26 Feb 2023 00:24:03 +0000 (19:24 -0500)]
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.

14 months agognu: linux-libre 5.10: Update to 5.10.170.
Leo Famulari [Sun, 26 Feb 2023 00:23:29 +0000 (19:23 -0500)]
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.

14 months agognu: linux-libre 5.15: Update to 5.15.96.
Leo Famulari [Sun, 26 Feb 2023 00:23:11 +0000 (19:23 -0500)]
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.

14 months agognu: linux-libre: Update to 6.1.14.
Leo Famulari [Sun, 26 Feb 2023 00:22:53 +0000 (19:22 -0500)]
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.

14 months agognu: libssh: Update to 0.10.4.
Vagrant Cascadian [Thu, 27 Oct 2022 20:18:46 +0000 (13:18 -0700)]
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>
14 months agognu: xpadneo: Update to 0.9.5.
Liliana Marie Prikler [Sun, 19 Feb 2023 08:19:46 +0000 (09:19 +0100)]
gnu: xpadneo: Update to 0.9.5.

* gnu/packages/linux.scm (xpadneo): Update to 0.9.5.

14 months agognu: emacs-next: Update to 29.0.60-1.f1f571e.
Liliana Marie Prikler [Thu, 16 Feb 2023 20:45:24 +0000 (21:45 +0100)]
gnu: emacs-next: Update to 29.0.60-1.f1f571e.

* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e.

14 months agognu: Add emacs-next-tree-sitter.
Liliana Marie Prikler [Thu, 16 Feb 2023 20:36:52 +0000 (21:36 +0100)]
gnu: Add emacs-next-tree-sitter.

* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
(emacs-next): Remove tree sitter support.

14 months ago.patman: Ignore bad tags.
Maxim Cournoyer [Sun, 26 Feb 2023 04:07:32 +0000 (23:07 -0500)]
.patman: Ignore bad tags.

The feature is not used in Guix, and it produces extraneous warnings.

* .patman (ignore_bad_tags): Set option to True.

14 months agognu: gparted: Update to 1.5.0.
Michael Rohleder [Sat, 25 Feb 2023 02:45:11 +0000 (03:45 +0100)]
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>
14 months agognu: ethtool: Update to 6.2.
Bruno Victal [Sat, 25 Feb 2023 19:47:26 +0000 (19:47 +0000)]
gnu: ethtool: Update to 6.2.

* gnu/packages/networking.scm (ethtool): Update to 6.2.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
14 months agognu: virglrenderer: Update to 0.10.4.
Simon Streit [Thu, 2 Feb 2023 21:01:00 +0000 (22:01 +0100)]
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>
14 months agocpio: Properly handle Unicode characters in file names.
Maxim Cournoyer [Fri, 24 Feb 2023 04:37:32 +0000 (23:37 -0500)]
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.

14 months agognu: spice-gtk: Adjust the default file name of the ACL helper binary.
Maxim Cournoyer [Fri, 17 Feb 2023 14:35:15 +0000 (09:35 -0500)]
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>
14 months agognu: gnome-boxes: Mention extra configuration requirements.
Maxim Cournoyer [Thu, 16 Feb 2023 20:13:29 +0000 (15:13 -0500)]
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>