me
/
guix
Archived
1
0
Fork 0
Commit Graph

136835 Commits (f0bb724211872cd6158fce6162e0b8c73efed126)

Author SHA1 Message Date
Efraim Flashner f0bb724211
gnu: ldc: Fix building on riscv64-linux.
* gnu/packages/dlang.scm (ldc)[arguments]: Add a configure-flag to link
the executables with -latomic.  Adjust the 'disable-problematic-tests
phase to disable 2 tests which fail on riscv64-linux and delete some
tests which fail on riscv64-linux.  Adjust the custom 'check phase to
skip several tests when building on riscv64-linux.

Change-Id: I38a87b053c1399fa7762b4843555d6e2afc20427
2024-06-05 09:35:40 +03:00
Efraim Flashner 3f62a5d6bb
gnu: ldc: Build with llvm-17.
* gnu/packages/dlang.scm (ldc-bootstrap)[native-inputs]: Replace
lld-wrapper-15 with lld-wrapper-17, llvm-15 with llvm-17.
(ldc)[native-inputs]: Replace clang-15 with clang-17.

Change-Id: I8d5b19d3da52ba9f2d1fa3afcabe74ad4ce1d5e1
2024-06-05 09:35:40 +03:00
Efraim Flashner 8c335c47c0
gnu: ldc: Fix build on aarch64-linux.
* gnu/packages/dlang.scm (ldc)[arguments]: Don't delete tests which
don't fail on aarch64-linux.  Adjust custom 'check phase to skip some
tests known to fail on aarch64-linux.

Change-Id: I84ea2f356a44e12952dbb852e41921895605176a
2024-06-05 09:35:40 +03:00
Efraim Flashner c0c650219b
gnu: ldc: Honor parallel-build?.
* gnu/packages/dlang.scm (ldc-bootstrap)[arguments]: Adjust custom
'build phase to check parallel-build? and not parallel-tests?.

Change-Id: I84b5f5153fea89d80564f5a55c8df57ff201ee69
2024-06-05 09:35:40 +03:00
Efraim Flashner f78b41a1e9
gnu: ldc: Update to 1.38.0.
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.38.0.
(ldc)[arguments]: Adjust 'patch-paths-in-tests phase for changes in the
test suite.  Adjust 'disable-problematic-tests phase to change the
skipped tests.

Change-Id: I5315ed5d3fc7d08a97aa0b5677692fbf221bf0c1
2024-06-05 09:35:40 +03:00
Arun Isaac bf202e8bdd
gnu: mumi: Update to 0.2.1.
* gnu/packages/mail.scm (mumi): Update to 0.2.1.

Change-Id: Ib06e98e4b5d8d8408c314dc2724ccebd1b17163a
2024-06-05 00:35:19 +01:00
Simon Tournier 1d198586d8
teams: Add Simon to r team.
* etc/teams.scm (Simon Tournier): Subscribe to the 'r' team.

Change-Id: I6f183ac10a854ae6f42396abed7436a9cefe26b4
2024-06-04 18:49:56 +02:00
Janneke Nieuwenhuizen dbab132224
gnu: Add qemu-7.2.4.
Version 8.0.5 is the latest version that works reliably as a
qemu-binfmt-service for riscv64, which makes 7.2.4 the newest working version
that was packaged for Guix.

* gnu/packages/patches/qemu-7.2.4-build-info-manual.patch,
gnu/packages/patches/qemu-disable-aarch64-migration-test.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
* gnu/packages/virtualization.scm (qemu-7.2.4): Use them in new package.

Change-Id: Iaedc424e619cdc4964945f7383d47cff0c7ed10f
2024-06-04 17:15:37 +02:00
Richard Sent 40c6f70839
guix-install.sh: Add unique requirement for sysv init system
This improves the installer's ability to detect that all requirements are
present regardless of init system. It also avoids performing the requirement
check twice (printing excessively to the console) and provides a framework for
adding new init system specific requirements if it's needed in the future.

* etc/guix-install.sh (add_init_sys_require): Create.
(SYSV_INIT_REQUIRE): Create.
(main_install): Reorder installer steps so all requirements are checked in one
pass.

Change-Id: Ic541c1b90499d504642b7ab4ae595501b1a37b0d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-04 12:08:34 +02:00
Richard Sent 3e87b207ce
file-systems: Add support for mounting CIFS file systems
* gnu/build/file-systems (canonicalize-device-name): Do not attempt to resolve
CIFS formatted device specifications.
(mount-file-systems): Add mount-cifs nested function.
* gnu/machine/ssh.scm (machine-check-file-system-availability): Skip checking
for CIFS availability, similar to NFS.
* guix/scripts/system.scm (check-file-system-availability): Likewise.

Change-Id: I182e290eba64bbe5d1332815eb93bb68c01e0c3c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-04 12:08:34 +02:00
Richard Sent 9d6c4f5160
file-systems: Add host-to-ip nested function
* gnu/build/file-systems (mount-file-system): Split out getaddrinfo logic into a
dedicated function, (host-to-ip)

Change-Id: I522d70a10651ca79533a4fc60b96b884243a3526
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-04 12:08:34 +02:00
Richard Sent 579df5bc80
services: base: Add optional delayed mount of file-systems
Add a mechanism to only require mounting a subset of file-system entries
during early Shepherd initialization. Any file-system with additional Shepherd
service requirements (e.g. networking) is not required to provision
'file-systems.

* gnu/services/base.scm (file-system-shepherd-service): Splice
file-system-requirements into the Shepherd service requirement list.
(file-system-shepherd-services): Provision 'file-system only when file system
services without additional Shepherd requirements are started.
* gnu/system/file-systems.scm (file-system): Add shepherd-requirements field
to the file-system record. This field is used for adding additional Shepherd
requirements to a file-system Shepherd service.
* doc/guix.texi: Add documentation for file-system shepherd-requirements.

Change-Id: If0392db03d48e8820aa53df1df482c12ec72e1a5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-04 12:08:34 +02:00
Leo Famulari 5d3edff1a6
gnu: linux-libre: Update to 6.9.
* gnu/packages/linux.scm (linux-libre-version, linux-libre-gnu-revision,
linux-libre-pristine-source, linux-libre-source, linux-libre): Update to 6.9.

Change-Id: I7383faceaf4679802047752088533e5deaa0d7f1
2024-06-03 20:06:28 -04:00
Wilko Meyer 2004636a73
gnu: linux-libre 6.8: Update to 6.8.12.
* gnu/packages/linux.scm (linux-libre-6.8-version): Update to 6.8.12.
(linux-libre-6.9-pristine-source): Update hash.

Change-Id: I6237530adf58773e0cccb647494c0f981b2c2f40
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-06-03 20:06:25 -04:00
Ludovic Courtès 85ac164c41
services: nscd: Enable ‘passwd’ and ‘group’ caches by default.
This allows users to specify NSS plugins such as LDAP via the
‘name-services’ field of <nscd-configuration>.  Failing that, user code
will dlopen whatever passwd/group plugins are listed in
/etc/nsswitch.conf, which is likely to fail, typically because those are
not in $LD_LIBRARY_PATH.

* gnu/services/base.scm (%nscd-default-caches): Add ‘passwd’ and ‘group’
caches.

Change-Id: I9c03346a1de2710685f7801eccd2e08007427f5d
2024-06-03 23:00:10 +02:00
Artyom Bologov 53db1ed94e
gnu: guile-gsl: Update to 0.0.1-2.d33de92.
* gnu/packages/guile-xyz.scm (guile-gsl): Update to 0.0.1-2.d33de92.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03 22:58:53 +02:00
Herman Rimm 510ad5d93c
import: utils: End package descriptions with period.
* guix/import/utils.scm (beautify-description): Append period to last
words which do not end with one.
* tests/crate.scm: Append period to descriptions.
* tests/elm.scm: Append period to descriptions.
* tests/gem.scm: Append period to descriptions.
* tests/hexpm.scm: Append period to descriptions.
* tests/minetest.scm: Append period to descriptions.
* tests/pypi.scm: Append period to descriptions.
* tests/import-utils.scm ("beautify-description: transform fragment into
sentence"): Likewise.

Change-Id: I0b12c4d94cb26cf62fab5b7cbf7885e66ff6c10f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03 22:58:53 +02:00
Herman Rimm e62fd9004b
import: crate: Include a main verb in crate importer descriptions.
* guix/import/crate.scm (make-crate-sexp): Start description with
'This package provides '.
* tests/crate.scm: Set descriptions to "This package provides summary".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: If0f47a68f986b9e878fd5caa3e365c5ad863089a
2024-06-03 22:58:53 +02:00
Herman Rimm 1fa2b64ded
import: crate: Beautify crate importer synopses.
* guix/import/crate.scm (make-crate-sexp): Use beautify-synopsis.

Change-Id: I4e30e043d34da7a3c355e098f155c0c75b619063
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03 22:58:53 +02:00
Ludovic Courtès e8ab4ccaa7
style: Fix conversion of ‘unquote-splicing’ by ‘-S arguments’.
* guix/scripts/style.scm (unquote->ungexp): Add missing comma for
‘ungexp-splicing’.
* tests/style.scm ("gexpify arguments, substitute-keyword-arguments +
unquote-splicing"): New test.

Change-Id: I17dcdd9b4812d54ddba1137e369360706b137bb4
2024-06-03 22:58:52 +02:00
Arun Isaac 2f56845b33
gnu: mumi: Update to 0.2.0.
* gnu/packages/mail.scm (mumi): Update to 0.2.0.

Change-Id: I312edaf870ecaa114f828086fd9807aa549fb84d
2024-06-03 19:40:48 +01:00
Guillaume Le Vaillant 879fc9b3f0
gnu: cl-cf: Update to 1.0-4.0186b2a.
* gnu/packages/lisp-xyz.scm (sbcl-cf): Update to 1.0-4.0186b2a.

Change-Id: I8dd52856fcbe70205751ece561c0261aa04881e2
2024-06-03 17:02:20 +02:00
Andre A. Gomes ca7cce471a
gnu: nyxt: Update to 3.11.7.
* gnu/packages/web-browsers.scm (nyxt): Update to 3.11.7.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-06-03 16:57:47 +02:00
Andre A. Gomes 78ecc653b8
gnu: cl-quri: Update to 0.7.0-0.03ecaf3.
* gnu/packages/lisp-xyz.scm (sbcl-quri): Update to 0.7.0-0.03ecaf3.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: I688d5d696ac88eff16fa806c4dab747b58653201
2024-06-03 16:57:02 +02:00
Efraim Flashner 1615084a9a
gnu: spirv-llvm-translator: Rewrite using g-exps.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Rewrite
using g-expressions.

Change-Id: If0025060e5aa24a9d90724966887ea03f4f8c4b3
2024-06-03 11:07:34 +03:00
Efraim Flashner 865920e01e
gnu: spirv-llvm-translator: Skip tests on most platforms.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Only run
tests when not cross-compiling and for x86_64-linux.

Change-Id: If0025060e5aa24a9d90724966887ea03f4f8c4b3
2024-06-03 11:06:23 +03:00
Efraim Flashner 2dfe45e12e
gnu: spirv-llvm-translator: Build shared library.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Adjust
configure-flags to link the executable to the shared library location
and enable building the shared libraries.

Change-Id: I0f44e1562957fb7e6c2e6f7a10dceed8f32ca7ce
2024-06-03 08:21:54 +03:00
Florian Pelz 834a419524
nls: Update translations.
* po/doc/guix-cookbook.sv.po: New file.
* po/doc/local.mk: Add 'sv' cookbook.
* po/doc/po4a.cfg (po4a_langs): Add 'sv'.
* doc/local.mk: Add 'sv' cookbook.
* doc/htmlxref.cnf: Update URLs for cookbook.
* doc/build.scm (%cookbook-languages): Add 'sv'.
* doc/guix-cookbook.texi (Top): Mention 'sv' cookbook.

Change-Id: Ibfeb7254f583f1c8827e8c2756bbb02880bcba46
2024-06-03 00:27:12 +02:00
gemmaro 368e58afcb
self: Use po4a instead of po4a-translate.
* guix/self.scm (translate-tmp-texi): Use po4a instead of po4a-translate.
This eliminates the po4a-translate warning; "po4a-translate is deprecated.
The unified po4a(1) program is more convenient and less error prone."

Change-Id: Id85c7478b1b237f31010994fcd2d38765993c1ad
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
gemmaro f65bd477b0
build: Use the po4a command for the translation generation.
* configure.ac (Documentation translation): Remove the po4a-translate command.
This command has been replaced by the po4a command and are not used from
anywhere.
* doc/local.mk ($(srcdir)/%D%/guix.%.texi, $(srcdir)/%D%/guix-cookbook.%.texi)
($(srcdir)/%D%/contributing.%.texi): Use the po4a command instead of the
po4a-translate for the translation generation.  This eliminates the warning of
po4a-translate; "po4a-translate is deprecated.  The unified po4a(1) program is
more convenient and less error prone."
(PO4A_PARAMS): Remove the Texinfo format option.  This option is specified in
the configuration file (po/doc/po4a.cfg).
(dummy_pot): Add a variable for the temporary POT file location.

Change-Id: I542b934c3c03b8701e9f86823191224f8b0ccf81
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
gemmaro 2d4af52470
build: Update the POT creation task with the po4a command.
* configure.ac (Documentation translation): Add the po4a program and remove
the po4a-updatepo program.  The PO4A defined here can be used in
Makefiles (e.g. po/doc/local.mk below).  The po4a command integrates the
functionality of po4a-updatepo and is currently recommended for use [1].  The
po4a-updatepo command has been replaced by the po4a command and are not used
from anywhere.
* po/doc/local.mk (%D%/%.pot): Use a po4a command instead of the po4a-updatepo
for the POT generation.  This eliminates the warning of po4a-updatepo;
"po4a-updatepo is deprecated.  The unified po4a(1) program is more convenient
and less error prone."  Here, the file paths are passed using variables.  This
is because the po4a command needs to be executed for each language and each
file.  Dummy values are passed for those that are not needed to update the POT
file.
* po/doc/po4a.cfg: Add a po4a config file for the POT generation.  The po4a
command requires a configulation file.

[1] https://po4a.org/man/man7/po4a.7.php.en#lbAS

Change-Id: Ica39a0d1f77b6a64d37c592ac2e693319443d3c5
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
gemmaro 77c79bf5da
build: Align the Automake status lines of the po4a and the PO xref.
* Makefile.am (AM_V_PO4A_0, AM_V_POXREF_0): Align the Automake status lines of
the po4a and the PO xref, since the common width is 10 characters.

Change-Id: Ic8c32f73294ba6e4ca71ab4aa889a558e4d7fcee
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-06-03 00:27:11 +02:00
Florian Pelz 5c4742663b
doc: cookbook: Fix direnv example.
When replacing `guix environment' with `guix shell',
I forgot to add a `--development' argument.

Follow-up to 9c3a8a380b.

* doc/guix-cookbook.texi (Environment management)
[Guix environment via direnv]: Fix example.

Change-Id: I0a0df33b3b547bfc3ada10c4648e593be6608070
2024-06-03 00:27:11 +02:00
Picnoir 2e53fa5346
gnu: Add nsncd.
* gnu/packages/nss.scm (nsncd): New variable. Introducing Nsncd, a non-caching
alternative of Glibc Nscd.

Change-Id: I18ba7ffbb6fb59c4928829bb98a8da4e6963e587
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:26 +02:00
Picnoir 31b39cee2c
gnu: Add rust-slog-async-2-8.
* gnu/packages/crates-io.scm (rust-slog-async-2-8): New variable. Required by
Nsncd.

Change-Id: I9f1a6041c92760b481acc30c0bddd28330b98b2c
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir 78f09fb7c4
gnu: Add rust-temp-env-0.3.
* gnu/packages/crates-io.scm (rust-temp-env-0.3): New variable. Required by
Nsncd.

Change-Id: I0cf5084339b889aa6fdaeeeca7b6be2ffcdcb48c
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir abfef465b2
gnu: Add rust-dns-lookup-2.
* gnu/packages/crates-io.scm (rust-dns-lookup-2): New variable. Required by
Nsncd.

Change-Id: I66a8488c93cc0c119417270db93733424a791069
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir aed9a0e96e
gnu: Add rust-nix-0.28.
* gnu/packages/crates-io.scm (rust-nix-0.28): New variable. Required by Nsncd.

Change-Id: I51964d3be9cfb5e78b727a1a9e400fb61e57321f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Picnoir 2c2ec117c7
gnu: Add rust-libc-0.2.153.
* gnu/packages/crates-io.scm (rust-libc-0.2.153): New variable. Required by
rust-nix 0.18.

Change-Id: I95c6663b0262f3e893c38ed51c34176144e4f750
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:25 +02:00
Ludovic Courtès 0362b504aa
gnu: knot: Remove input labels.
* gnu/packages/dns.scm (knot)[inputs]: Remove labels.

Change-Id: I03be6db350b939f8a17c8a2e572dda62b16b48af
2024-06-02 20:52:25 +02:00
Ludovic Courtès 162015abc0
gnu: knot: Build against libbpf 0.8.
Commit 12d2a6e5a6 introduced a regression
whereby ./configure would error out for lack of libxdp.

* gnu/packages/dns.scm (knot)[inputs]: Replace LIBBPF with LIBBPF-0.8.

Change-Id: Ifeeacc27705d4d617ee0c58672f22d5f9de06389
2024-06-02 20:52:25 +02:00
Ludovic Courtès 5245e081fc
gnu: libbpf: Reintroduce 0.8.1.
This version was removed in 12d2a6e5a6.

* gnu/packages/linux.scm (libbpf-0.8): New variable.

Change-Id: I99a323667ce86671caf3fc0227379fbba073c0a1
2024-06-02 20:52:24 +02:00
Suhail Singh c9f00f04c6
gnu: emacs-org: Update to 9.6.30.
* gnu/packages/emacs-xyz.scm (emacs-org): Update to 9.6.30.

Change-Id: I3049798cce9d903c4bee14c930d7862872bb8774
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 20:52:24 +02:00
Ludovic Courtès 20e7b89218
services: darkstat: Depend on ‘user-processes’.
* gnu/services/monitoring.scm (darkstat-shepherd-service): Add
‘user-processes’ to ‘requirement’.

Change-Id: I6abaefd88c6075a0379e5867838653765dfaa08e
2024-06-02 20:52:24 +02:00
Ludovic Courtès 3298ec0200
services: avahi: Use socket activation and log to stderr.
* gnu/services/avahi.scm (avahi-shepherd-service): Change to systemd
style.  Remove ‘--daemonize’ option and #:pid-file.  Add #:lazy-start?
and #:log-file.

Change-Id: I1915243f057ff3bbe281f46f17826f24b124f659
2024-06-02 20:52:24 +02:00
Ludovic Courtès b9b0f0a995
services: dbus: Log to stderr rather than syslog.
* gnu/services/dbus.scm (dbus-shepherd-service): Remove ‘--syslog-only’
option and pass #:log-file unconditionally.

Change-Id: I9e42f241e08b95ff01e9ad69551bc2c7ce869d6d
2024-06-02 20:52:24 +02:00
Ludovic Courtès 49e9c9ec3e
services: tor: Log to stderr rather than syslog.
* gnu/services/networking.scm (tor-configuration->torrc): Change ‘Log’
directive to ‘stderr’.
(tor-shepherd-service): Remove /dev/log file system mapping.

Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0
2024-06-02 20:52:24 +02:00
Ludovic Courtès 8f0878da8d
services: nscd: ‘log-file’ defaults to #f.
* gnu/services/base.scm (<nscd-configuration>)[log-file]: Default to #f.
* doc/guix.texi (Base Services): Clarify documentation.

Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4
2024-06-02 20:52:24 +02:00
Oleg Pykhalov bc06affabc
services: nix: Fix activation.
This commit follows 797be0ea5c.

Reported by kiasoc5 <kiasoc5@disroot.org> at
<https://lists.gnu.org/archive/html/help-guix/2024-05/msg00185.html>.

* gnu/services/nix.scm (nix-activation): Avoid provisioning the store if it
already exists.

Change-Id: I159e8af5d7bd6ce62857b356d6e9ac68fe16acf4
2024-06-02 18:04:34 +03:00
Andrew Tropin eac5171246
Revert "services: home: Use pairs instead of lists."
This reverts commit dbeef44f3c.

Despite the more semantically correct data type, it doesn't follow the style
of the most services and also breaks user-facing API.

Change-Id: Ib4ef4e9cd2f53ac853a5b7c7c90e57c35c99a5ea
2024-06-02 15:06:16 +04:00