me
/
guix
Archived
1
0
Fork 0
Commit Graph

136826 Commits (3e87b207ce96679e2f289a5522a248d38c4f3962)

Author SHA1 Message Date
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
Ludovic Courtès d82e36591e
gnu: cuirass: Update to Update to e4b4206.
* gnu/packages/ci.scm (cuirass): Update to e4b4206.

Change-Id: I8265b24e716c1941ee48c0aa33b0569dc6e269ba
2024-06-02 12:05:10 +02:00
Herman Rimm 0bd5e1bf92
gnu: minizinc: Update to 2.8.4.
* gnu/packages/maths.scm (minizinc): Update to 2.8.4.

Change-Id: I503fd004b38abaac8829a2cb94c182b001d83763
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 12:05:10 +02:00
Herman Rimm 977bac6897
gnu: chuffed: Update to 0.13.2.
* gnu/packages/maths.scm (chuffed): Update to 0.13.2.

Change-Id: I77fc1ceb9caa42833689fba771010aeb38443e5e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-06-02 12:05:10 +02:00
Herman Rimm 4b443b41f4
gnu: gecode: Update to 6.2.0-1.f7f0d7c.
* 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-02 12:05:10 +02:00
Simon South e170c51404
gnu: asl: Update to 1.42-beta-267.
* 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-02 12:05:09 +02:00
Tomas Volf 887d031382
guix-install.sh: Relax check for OpenRC.
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-02 12:05:09 +02:00
Trevor Arjeski 1262e8b122
guix-install.sh: Add ~/.guix-profile/share/info to INFOPATH.
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
2024-06-02 12:05:09 +02:00
Artyom V. Poptsov f21aec551f
gnu: yggdrasil: Update to 0.5.6.
* gnu/packages/networking.scm (yggdrasil): Update to 0.5.6.

Change-Id: I365621a5147cdaf4e0ddfd51437a144aa00087aa
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-06-02 13:40:15 +04:00
Artyom V. Poptsov aed52972ce
gnu: go-github-com-arceliar-ironwood: Update to v0.0.0-20240529054413-b8e59574e2b2.
* gnu/packages/golang.scm (go-github-com-arceliar-ironwood): Update to
  v0.0.0-20240529054413-b8e59574e2b2.
  [arguments]: Use gexps.  Use go-1.21.

Change-Id: I30707c7a2cb6229149c6c9e9c0e3752b3222b84a
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-06-02 13:40:14 +04:00