summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-04gnu: Add qemu-7.2.4.Janneke Nieuwenhuizen
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-04guix-install.sh: Add unique requirement for sysv init systemRichard Sent
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-04file-systems: Add support for mounting CIFS file systemsRichard Sent
* 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-04file-systems: Add host-to-ip nested functionRichard Sent
* 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-04services: base: Add optional delayed mount of file-systemsRichard Sent
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-03gnu: linux-libre: Update to 6.9.Leo Famulari
* 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-03gnu: linux-libre 6.8: Update to 6.8.12.Wilko Meyer
* 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-03services: nscd: Enable ‘passwd’ and ‘group’ caches by default.Ludovic Courtès
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-03gnu: guile-gsl: Update to 0.0.1-2.d33de92.Artyom Bologov
* 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-03import: utils: End package descriptions with period.Herman Rimm
* 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-03import: crate: Include a main verb in crate importer descriptions.Herman Rimm
* 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-03import: crate: Beautify crate importer synopses.Herman Rimm
* guix/import/crate.scm (make-crate-sexp): Use beautify-synopsis. Change-Id: I4e30e043d34da7a3c355e098f155c0c75b619063 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-03style: Fix conversion of ‘unquote-splicing’ by ‘-S arguments’.Ludovic Courtès
* 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-03gnu: mumi: Update to 0.2.0.Arun Isaac
* gnu/packages/mail.scm (mumi): Update to 0.2.0. Change-Id: I312edaf870ecaa114f828086fd9807aa549fb84d
2024-06-03gnu: cl-cf: Update to 1.0-4.0186b2a.Guillaume Le Vaillant
* gnu/packages/lisp-xyz.scm (sbcl-cf): Update to 1.0-4.0186b2a. Change-Id: I8dd52856fcbe70205751ece561c0261aa04881e2
2024-06-03gnu: nyxt: Update to 3.11.7.Andre A. Gomes
* gnu/packages/web-browsers.scm (nyxt): Update to 3.11.7. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2024-06-03gnu: cl-quri: Update to 0.7.0-0.03ecaf3.Andre A. Gomes
* 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-03gnu: spirv-llvm-translator: Rewrite using g-exps.Efraim Flashner
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Rewrite using g-expressions. Change-Id: If0025060e5aa24a9d90724966887ea03f4f8c4b3
2024-06-03gnu: spirv-llvm-translator: Skip tests on most platforms.Efraim Flashner
* 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-03gnu: spirv-llvm-translator: Build shared library.Efraim Flashner
* 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-03nls: Update translations.Florian Pelz
* 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-03self: Use po4a instead of po4a-translate.gemmaro
* 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-03build: Use the po4a command for the translation generation.gemmaro
* 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-03build: Update the POT creation task with the po4a command.gemmaro
* 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-03build: Align the Automake status lines of the po4a and the PO xref.gemmaro
* 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-03doc: cookbook: Fix direnv example.Florian Pelz
When replacing `guix environment' with `guix shell', I forgot to add a `--development' argument. Follow-up to 9c3a8a380bcfebdb77af61532e7bfec523d7bde8. * doc/guix-cookbook.texi (Environment management) [Guix environment via direnv]: Fix example. Change-Id: I0a0df33b3b547bfc3ada10c4648e593be6608070
2024-06-02gnu: Add nsncd.Picnoir
* 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-02gnu: Add rust-slog-async-2-8.Picnoir
* 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-02gnu: Add rust-temp-env-0.3.Picnoir
* 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-02gnu: Add rust-dns-lookup-2.Picnoir
* 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-02gnu: Add rust-nix-0.28.Picnoir
* 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-02gnu: Add rust-libc-0.2.153.Picnoir
* 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-02gnu: knot: Remove input labels.Ludovic Courtès
* gnu/packages/dns.scm (knot)[inputs]: Remove labels. Change-Id: I03be6db350b939f8a17c8a2e572dda62b16b48af
2024-06-02gnu: knot: Build against libbpf 0.8.Ludovic Courtès
Commit 12d2a6e5a6f412d91ba0c34a1c3c080c6c587cc6 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-02gnu: libbpf: Reintroduce 0.8.1.Ludovic Courtès
This version was removed in 12d2a6e5a6f412d91ba0c34a1c3c080c6c587cc6. * gnu/packages/linux.scm (libbpf-0.8): New variable. Change-Id: I99a323667ce86671caf3fc0227379fbba073c0a1
2024-06-02gnu: emacs-org: Update to 9.6.30.Suhail Singh
* 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-02services: darkstat: Depend on ‘user-processes’.Ludovic Courtès
* gnu/services/monitoring.scm (darkstat-shepherd-service): Add ‘user-processes’ to ‘requirement’. Change-Id: I6abaefd88c6075a0379e5867838653765dfaa08e
2024-06-02services: avahi: Use socket activation and log to stderr.Ludovic Courtès
* 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-02services: dbus: Log to stderr rather than syslog.Ludovic Courtès
* gnu/services/dbus.scm (dbus-shepherd-service): Remove ‘--syslog-only’ option and pass #:log-file unconditionally. Change-Id: I9e42f241e08b95ff01e9ad69551bc2c7ce869d6d
2024-06-02services: tor: Log to stderr rather than syslog.Ludovic Courtès
* 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-02services: nscd: ‘log-file’ defaults to #f.Ludovic Courtès
* gnu/services/base.scm (<nscd-configuration>)[log-file]: Default to #f. * doc/guix.texi (Base Services): Clarify documentation. Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4
2024-06-02services: nix: Fix activation.Oleg Pykhalov
This commit follows 797be0ea5c3703ad96acd32c98dca5f946cf5c95. 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-02Revert "services: home: Use pairs instead of lists."Andrew Tropin
This reverts commit dbeef44f3c520816251bde74c1005915a637e1ef. 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-02gnu: cuirass: Update to Update to e4b4206.Ludovic Courtès
* gnu/packages/ci.scm (cuirass): Update to e4b4206. Change-Id: I8265b24e716c1941ee48c0aa33b0569dc6e269ba
2024-06-02gnu: minizinc: Update to 2.8.4.Herman Rimm
* gnu/packages/maths.scm (minizinc): Update to 2.8.4. Change-Id: I503fd004b38abaac8829a2cb94c182b001d83763 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02gnu: chuffed: Update to 0.13.2.Herman Rimm
* gnu/packages/maths.scm (chuffed): Update to 0.13.2. Change-Id: I77fc1ceb9caa42833689fba771010aeb38443e5e Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02gnu: gecode: Update to 6.2.0-1.f7f0d7c.Herman Rimm
* gnu/packages/maths.scm (gecode): Update to 6.2.0-1.f7f0d7c. [version]: Use version. [arguments]: Add patch-msc-and-version phase. Install examples to the examples output again. (minizinc)[arguments]: Copy provided gecode.msc file instead. Change-Id: I5e89105f3fef61d6aa677a4a118225679220ce5d Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02gnu: asl: Update to 1.42-beta-267.Simon South
* gnu/packages/assembly.scm (asl): Update to 1.42-beta-267. Change-Id: I47bddede842f3d63f993a93965df0f0302ef45d1 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02guix-install.sh: Relax check for OpenRC.Tomas Volf
On my virtual private servers running Alpine, the install script failed to identify the init system. The virtual server is LXC based, and OpenRC identifies itself like this: # openrc --version openrc (OpenRC [LXC]) 0.52.1 The regular expression failed to match it. After relaxing the check (by removing the trailing `)' requirement) the installation went fine and I got functional Guix installation. * etc/guix-install.sh (chk_init_sys): Drop trailing \) from the regular expression. Change-Id: I5f951226341e631fb34cc6c26cfbb87656dab77a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02guix-install.sh: Add ~/.guix-profile/share/info to INFOPATH.Trevor Arjeski
Adding ~/.guix-profile/share/info to the INFOPATH env var so that when a user does `guix install [package]` that package's info pages can be found. * etc/guix-install.sh (sys_create_init_profile): Add $GUIX_PROFILE/share/info to INFOPATH in ‘/etc/profile.d/zzz-guix.sh’. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I8958261c388ddee5659f0f1ce1c0c9813dc0f052