Commit graph

128499 commits

Author SHA1 Message Date
Thomas Ieong
b681e339fa
services: Add rspamd-service-type.
* gnu/services/mail.scm (rspamd-service-type): New variable.
* gnu/tests/mail.scm (%test-rspamd): New variable.
* doc/guix.texi: Document it.

Co-authored-by: Saku Laesvuori <saku@laesvuori.fi>
Change-Id: I7196643f087ffe9fc91aab231b69d5ed8dc9d198
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-14 23:12:24 +01:00
Greg Hogan
7ce0c79e7a
gnu: pypy: Update to 7.3.13.
The validate-runpath error was previously reported in #57653.

Version update fixes the existing build errors.

* gnu/packages/python.scm (pypy3): Update to 7.3.13.
[source]: Update origin URI.
[arguments]<#:validate-runpath>: Disable check.
[arguments]<#:phases>: Update directory paths.

Change-Id: Ic6ab7dd77e30fa85d6fa5f000f9aa2528951b81e
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-12-14 23:12:24 +01:00
Ludovic Courtès
4017555367
services: hpcguix-web: Add ‘configuration’ action.
* gnu/services/web.scm (hpcguix-web-shepherd-service): Define
‘config-file’ and use it.  Add ‘actions’ field.

Change-Id: I085df403270039ede3c13f21a5d60682c7510e2e
2023-12-14 23:12:24 +01:00
Ludovic Courtès
1de1b975be
tests: childhurd: Prefer “-cpu max” over “-cpu host”.
“-cpu host” can sometimes, for unclear reasons, lead to this error from
QEMU 8.1.1:

  qemu-system-x86_64: CPU model 'host' requires KVM or HVF

This commit fixes it.

Inspired by
<47b56e7c19>.

* gnu/tests/virtualization.scm (run-childhurd-test)[test]: Prefer
“-cpu max” over “-cpu host”.

Change-Id: I11a8a68bb0532fe1f3fd2c34b4a7a5fdb7bccb57
2023-12-14 23:12:24 +01:00
Saku Laesvuori
59d65f66c5
services: guix: Allow gexps evaluating to a list of build-machines.
* gnu/services/base.scm (guix-machines-files-installation): Handle
machines being a mixed list of build-machines and lists of
build-machines.
* doc/guix.texi (Base Services): Document it.

Change-Id: Ie404562ca0b564413233c3a624046da831893dc3
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-12-14 23:12:24 +01:00
Tomas Volf
a1347d09f1
gnu: libtorrent-rasterbar: Disable test_ssl test.
It times out in the ci.guix.gnu.org, so this commit disables it.  It will be
re-enabled once solution is found.

* gnu/packages/bittorrent.scm
(libtorrent-rasterbar)[arguments]<#:phases>['check]: Disable test_ssl test.

Change-Id: Ib396fd8a1786e14baad72ae892bdd0fd3fe7a180
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-14 23:12:23 +01:00
Ludovic Courtès
8662741531
build-system/zig: Do not import (guix build syscalls).
* guix/build-system/zig.scm (%zig-build-system-modules): Remove (guix
build syscalls), which is unused.

Change-Id: Ie91c46c68787e0a8ffa3cbde2c5fd2294b82ed15
2023-12-14 23:12:23 +01:00
Guillaume Le Vaillant
ac61e9705f
gnu: txr: Remove obsolete fix.
* gnu/packages/lisp.scm (txr)[arguments]: Remove 'inhibit-doc-syms-generation'
  phase.

Change-Id: Ibf29e28a82f1821cefbdc87e8bfdf3ffcd4219e5
2023-12-14 10:49:23 +01:00
John Kehayias
8083c7abbf
gnu: xorg-server: Update to 21.1.10 [security fixes].
Fixes CVE-2023-6377 and CVE-2023-6478.  See the X.Org security advisory at
<https://lists.x.org/archives/xorg-announce/2023-December/003435.html> for
details.

* gnu/packages/xorg.scm (xorg-server): Update to 21.1.10.

Change-Id: I20ecf1a2b9fc15cafc1c57e0fa726c7cf3096a78
2023-12-13 22:08:38 -05:00
Leo Famulari
4c4222f32a
.guix-authorizations: Update lfam's key.
* .guix-authorizations: Update lfam's signing key fingerprint.

Change-Id: Ic34f364dfc46e403e1d431e5860a63b36143b6f3
2023-07-23 22:26:01 -04:00
Philip McGrath
1b2505217c
gnu: racket: Update to 8.11.1.
* gnu/packages/patches/racket-backport-8.10-rktboot.patch: Delete file.
* gnu/packages/patches/racket-backport-8.11-layered-docs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/racket/scm (%racket-origin)[patches]: Likewise.
(%racket-version): Update to 8.11.1.
(%zuo-version): Update to 1.7.
(racket)[inputs]<deinprogramm, draw, drracket, games, gui, htdp>
<parser-tools, plot, rackunit, redex, scribble, slideshow, typed-racket>
<srfi, string-constants, syntax-color, web-server, xrepl>: Update hashes.
<quickscript>: Likewise, and add snippet.
* gnu/packages/chez.scm (chez-scheme-for-racket): Update to
9.9.9-pre-release.18.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-13 12:58:43 +01:00
Ludovic Courtès
eb1f019f77
gnu: hpcguix-web: Update to 0.4.0.
* gnu/packages/web.scm (hpcguix-web): Update to 0.4.0.

Change-Id: I66a4689d7e3e93ed4085db937920374dbb5a796e
2023-12-13 12:58:43 +01:00
MarcoFalke
d5ca4d4fd7
syscalls: Define riscv64 syscall ID for clone.
* guix/build/syscalls.scm (clone): Add an entry for riscv64.

This allows the use of --container on riscv64.

Change-Id: I12b3cb5e2aa248266d006b6e456082f4ddc70e62
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-13 12:58:43 +01:00
Efraim Flashner
5f812344d2
gnu: rust-1.64: Don't make package public.
* gnu/packages/rust.scm (rust-1.64): Use define, not define-public.

Change-Id: I475e8b1028a716f1d04a4aea5da4d6e7ca2a87d7
2023-12-13 10:08:43 +02:00
Efraim Flashner
c9e1a72cc2
Merge branch 'rust-team'
Change-Id: Iee33d7b9067d2180fd4b2e28d81716a251a53a01
2023-12-13 09:28:20 +02:00
Daniel Ziltener
58bbb38c5b
gnu: chicken: Update to 5.3.0.
* gnu/packages/chicken.scm (chicken): Update to 5.3.0.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Id3ec15da586ddfc6dae924c0c8031fd7a4613660
2023-12-12 11:53:36 -05:00
Guillaume Le Vaillant
17b407ccb6
gnu: inspectrum: Update to 0.3.1.
* gnu/packages/radio.scm (inspectrum): Update to 0.3.1.

Change-Id: I51e81e328b332a32e19ab169c602875b21256c4c
2023-12-12 15:50:01 +01:00
Andre A. Gomes
3b03873476
gnu: nyxt: Update to 3.10.0.
* gnu/packages/web-browsers.scm (nyxt): Update to 3.10.0.
  [source]: Remove snippet.
  [inputs]: Remove sbcl-nasdf.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: Id131d7168133eb8a31214819c7605d876a1b38f3
2023-12-12 15:50:01 +01:00
Pierre Neidhardt
40f1f5b0ca
gnu: Add cl-machine-state.
* gnu/packages/lisp-xyz.scm (cl-machine-state, ecl-machine-state,
sbcl-machine-state): New variables.

Change-Id: I48d98dabc2fab1d74bc83857cb750efc29e85ab1
2023-12-12 13:28:45 +01:00
Efraim Flashner
c7215819e1
Revert "gnu: openssl: Don't error when targeting avr."
This reverts commit baeff7f546.
2023-12-12 13:58:16 +02:00
Efraim Flashner
92e2de6fb4
ci: Don't cross compile to avr.
* gnu/ci.scm (cross-jobs)[pointless?]: Don't build any packages for avr.

Change-Id: I1728727874d65461b82364e71b70c7d1fd050d90
2023-12-12 13:58:16 +02:00
Pierre Neidhardt
355a57fb84
gnu: sbcl-serapeum: Update to 20231203.
* gnu/packages/lisp-xyz.scm (sbcl-serapeum): Update to 20231203.

Change-Id: If8c364cde4dce2943d6e21770eec90c1ab05bc67
2023-12-12 11:25:19 +01:00
Efraim Flashner
baeff7f546
gnu: openssl: Don't error when targeting avr.
* gnu/packages/tls.scm (target->openssl-target): Add case for avr.

Change-Id: I1cfc8b50fa4b2b864f8f8aa8898cc405ffc02580
2023-12-12 09:32:10 +02:00
Efraim Flashner
f03029a00e
gnu: system->llvm-target-arch: Add avr target.
* gnu/packages/llvm.scm (system->llvm-target-arch): Add case for avr.

Change-Id: I5291d396ad513cfecdf8f0a6f799ea095fc8d994
2023-12-12 08:57:10 +02:00
Efraim Flashner
0cc7fc0025
gnu: make-crust-package: Don't run from avr.
* gnu/packages/firmware.scm (make-crust-package)[arguments]: In
make-flags don't create tools which can be run from avr.

Change-Id: I118b4941889b884de1e491ace3818d878a887d7c
2023-12-12 08:45:46 +02:00
Hilton Chain
5df4084ecd
gnu: linux-libre: Update to 6.6.6.
This kernel release fixes WiFi regressions introduced in 6.6.5:

https://lore.kernel.org/lkml/2023121141-mongoose-dazzler-be1b@gregkh/T/#t
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.6

* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.6.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: I502e166eaa7c179c52c581e311d3055032448be9
2023-12-12 06:54:15 +08:00
Zhu Zihao
46ec8592f7
gnu: lean: Update to 3.51.1.
* gnu/packages/lean.scm (lean): Update to 3.51.1.
[home-page]: Use new home page.
[arguments]<#:phases>: Remove stale phase 'patch-tests-shebangs'.
[inputs]: Remove bash-minimal.

Change-Id: Ib90a124b4a6b06fb30223ad4b9254249e56dd086
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:39:05 +01:00
Zhu Zihao
f1bcc043a4
gnu: lean: Use G-expressions.
* gnu/packages/lean.scm (lean)[arguments]: Use G-expressions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:39:01 +01:00
Jack Hill
17213c1b20
gnu: pdfarranger: Update to 1.10.1.
* gnu/packages/pdf.scm (pdfarranger): Update to 1.10.1.
[arguments]: Add set-home phase.

Change-Id: Id31925e7e34fc4b23abb73456bac8cd0012f1d6f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:34:31 +01:00
Sergey Trofimov
d74faef4f7
gnu: openvpn: Update to 2.6.7.
* gnu/packages/vpn.scm (openvpn): Update to 2.6.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:24:19 +01:00
Ludovic Courtès
4348947c74
weather: Report unauthorized substitute servers.
The goal is to make it easier to diagnose substitute
misconfiguration (where we’re passing a substitute URL whose
corresponding key is not authorized).

Suggested by Emmanuel Agullo.

* guix/scripts/weather.scm (check-narinfo-authorization): New procedure.
(report-server-coverage): Use it.
* doc/guix.texi (Invoking guix weather): Document it.
(Getting Substitutes from Other Servers): Add “Troubleshooting” frame.

Change-Id: I0a049c39eefb10d6a06634c8b16aa86902769791
2023-12-11 23:19:04 +01:00
Ludovic Courtès
7e11369586
weather: Use the same substitute URLs as guix-daemon.
* guix/scripts/weather.scm (%default-options): Remove ‘substitute-urls’.
(guix-weather): Call ‘substitute-urls’ when OPTS doesn’t have it.  Warn
when ‘substitute-urls’ returns #f.
* doc/guix.texi (Invoking guix weather): Adjust accordingly.

Change-Id: I3e9100074f2ad559e5c408660db70430d64f2bef
2023-12-11 23:19:00 +01:00
Ludovic Courtès
f63a8c5ca2
challenge: Use the same substitute URLs as guix-daemon.
* guix/scripts/challenge.scm (%default-options): Remove ‘substitute-urls’.
(guix-challenge): Call ‘substitute-urls’ when OPTS doesn’t have it.  Warn
when ‘substitute-urls’ returns #f.

Change-Id: I49be0e89404c1889970a3430967fbb3498d35d99
2023-12-11 23:18:57 +01:00
Ludovic Courtès
1e47148f46
daemon: Implement ‘substitute-urls’ RPC.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump.
(WorkerOp): Add ‘wopSubstituteURLs’.
* nix/nix-daemon/nix-daemon.cc (performOp): Implement it.
* guix/store.scm (%protocol-version): Bump.
(operation-id): Add ‘substitute-urls’.
(substitute-urls): New procedure.
* tests/store.scm ("substitute-urls, default")
("substitute-urls, client-specified URLs")
("substitute-urls, disabled"): New tests.

Change-Id: I2c0119500c3a1eecfa5ebf32463ffb0f173161de
2023-12-11 23:18:53 +01:00
Raphaël Mélotte
b650dcabf1
doc: suggest using pre-inst-env for git-send-email on foreign distros
On foreign distros, not using pre-inst-env when using git-send-email results
in a backtrace ending with: no code for module (guix ui)
This can be confusing as users did not have to use pre-inst-env to use
git-send-email before.

* doc/contributing.texi (Sending a Patch Series): add a note to suggest using
pre-inst-env when calling git-send-email on foreign distros.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-12-11 23:16:27 +01:00
Ludovic Courtès
7217c93486
gnu: libgpg-error: Do not assume that target is a triplet.
Fixes a bug exposed with be5ec2ebb4, which
introduces the “avr” target, which has no hyphen.

* gnu/packages/gnupg.scm (libgpg-error)[arguments]: In ‘cross-symlinks’
phase, adjust code to deal with TARGET lacking a hyphen.

Change-Id: I1aff6a94a7c92626f931c459d1dc0509f9bcfc00
2023-12-11 23:11:26 +01:00
Efraim Flashner
579f706fc9
gnu: rust-twox-hash-1: Update to 1.6.3.
* gnu/packages/crates-io.scm (rust-twox-hash-1): Update to 1.6.3.
[cargo-inputs]: Add rust-digest-0.10.  Replace rust-rand-0.7 with 0.8.

Change-Id: I0bc497bba4dfa01d054e415c4ac1c2757aa29ecf
2023-12-11 08:55:44 +02:00
Efraim Flashner
043fee4db6
gnu: rust-sha1-asm-0.4: Update to 0.4.4.
* gnu/packages/crates-io.scm (rust-sha1-asm-0.4): Update to 0.4.4.

Change-Id: I9e5f3cb221fbe3c1099a714be86e8ca26b1d97aa
2023-12-10 22:30:09 +02:00
Efraim Flashner
b79b8ca127
gnu: rust-v-htmlescape-0.15: Only run tests on some architectures.
* gnu/packages/crates-io.scm (rust-v-htmlescape-0.15)[arguments]: Skip
tests when building not for an x86 system.

Change-Id: I6fbb7c414b016d3b71bda7634790c23e93d33529
2023-12-10 22:21:52 +02:00
Efraim Flashner
34eaf5714e
Merge remote-tracking branch 'origin/master' into rust-team
Change-Id: Ic45f7071abd6a02c2ccad411500e5103c8272ffb
2023-12-10 13:25:47 +02:00
Efraim Flashner
99f7f64574
gnu: rust-criterion-cycles-per-byte-0.1: Only build on supported systems.
* gnu/packages/crates-io.scm (rust-criterion-cycles-per-byte-0.1)
[arguments]: Skip the build unless building on x86_64-linux or
i686-linux.

Change-Id: I935ff2d11beedaaca550658a78104b950bad664e
2023-12-10 12:58:26 +02:00
Efraim Flashner
b5dca27496
gnu: rust-cpuid-bool-0.2: Only build on supported systems.
* gnu/packages/crates-io.scm (rust-cpuid-bool-0.2)[arguments]: Skip the
build unless building on x86_64-linux or i686-linux.

Change-Id: I8e224618088154f45195405a13721d1e18b3be64
2023-12-10 11:49:25 +02:00
Efraim Flashner
63e06f30ce
gnu: ubuntu-keyring: Update to 2023.11.28.1.
* gnu/packages/debian.scm (ubuntu-keyring): Update to 2023.11.28.1.
[native-inputs]: Remove gzip; add xz.

Change-Id: Id90acc7a58085321ac96b6ab520f54b20911a8c1
2023-12-10 10:24:45 +02:00
Efraim Flashner
9c30fb27a4
gnu: tor: Update to 0.4.8.10.
* gnu/packages/tor.scm (tor): Update to 0.4.8.10.

Change-Id: Ibc11c83c3fea920c6b876a22cb4c96d5c927beb5
2023-12-10 09:49:26 +02:00
Efraim Flashner
556aa31050
gnu: llvm-14: Fix building on powerpc-linux.
* gnu/packages/llvm.scm (llvm-14)[arguments]: When building for
powerpc-linux adjust the configure-flags to always link shared libraries
with -latomic.

Change-Id: If020528bf1717595b66e6e0826dbe7a0c1128322
2023-12-10 08:15:43 +02:00
Michael Ford
2e11caff39
gnu: LLVM, Clang, libomp, lld: Update to 17.0.6.
* gnu/packages/llvm.scm (llvm-17, clang-17, libomp-17, lld-17):
Update to 17.0.6.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Change-Id: I7757b8e55e6a7ffc8185d366ba77706abaf5a798
2023-12-10 11:09:28 +08:00
Ekaitz Zarraga
20223da2f2
gnu: ncdu: Use zig-build-system.
* gnu/packages/ncdu.scm (ncdu)[build-system]: Use zig-build-system.
[arguments]<#:make-flags>: Remove argument.
<#:phases>: Delegate phase manipulation to the build-system.
Remove 'validate-runpath.
[native-inputs]: Remove zig-0.10.

Change-Id: I9027a1cbd925cfb0c135740e81a33b62cb9d91ca
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-10 11:09:09 +08:00
Sergey Trofimov
92640eedca
gnu: pipewire: Update to 1.0.0.
* gnu/packages/linux.scm (pipewire): Update to 1.0.0.
[native-inputs]: Add doxygen, python.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Change-Id: If2b0b50f844a8ee96f7d1012c01d7958ab8e7f46
2023-12-09 22:29:54 +08:00
Efraim Flashner
55faf486c7
build: cargo: Use correct config file for cargo config.
* guix/build/cargo-build-system.scm (configure): Use .cargo/config as
the config file.  Add a note.

Change-Id: Ice006c11184d4c8e1bdb765c3998b06ad299e55b
2023-11-28 12:58:36 +02:00
Efraim Flashner
6619021d32
gnu: stgit-2: Install info pages, shell completions.
* gnu/packages/version-control.scm (stgit-2)[arguments]: Add a phase to
build the info pages and shell completions.  Add a phase to install the
info pages and shell completions.
[native-inputs]: Add asciidoc, docbook2x, libxslt, perl, texinfo, xmlto.

Change-Id: Ie82d723e9dc2448492f327329c5a4ef0370f532e
2023-11-28 07:59:54 +02:00