Commit graph

106419 commits

Author SHA1 Message Date
jgart fbec026f42
gnu: Add cl-conduit-packages.
* gnu/packages/lisp-xyz.scm (cl-conduit-packages, ecl-conduit-packages,
  sbcl-conduit-packages): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-12-12 11:33:33 +01:00
jgart 911b0a5451
gnu: Add cl-fare-csv.
* gnu/packages/lisp-xyz.scm (cl-fare-csv, ecl-fare-csv, sbcl-fare-csv):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-12-12 11:24:47 +01:00
Pierre Neidhardt 8ac8ca3252
gnu: mcomix: Update to 2.0.2.
* gnu/packages/image-viewers.scm (mcomix): Update to 2.0.2.
2022-12-12 10:52:47 +01:00
Efraim Flashner 45f5feb279
image: Use 512 byte blocks for EFI partitions.
Addresses <https://issues.guix.gnu.org/59695>.

* gnu/build/image.scm (make-vfat-image): When creating a fat filesystem
for UEFI bootable partition use 512 byte blocks.
2022-12-12 10:47:59 +02:00
Arun Isaac 2d989ad597
gnu: python-seaborn: Update to 0.12.0.
* gnu/packages/python-xyz.scm (python-seaborn): Update to 0.12.0.
[source]: Remove patches.
[arguments]: Import (ice-9 match) module. Remove patch-more-tests and
start-xserver phases. Replace build and install phases. Fix pytest command in
check phase.
[native-inputs]: Add python-flit-core and python-pypa-build. Remove
xorg-server-for-tests.
* gnu/packages/patches/python-seaborn-2690.patch,
gnu/packages/patches/python-seaborn-kde-test.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Unregister them.
2022-12-11 23:55:54 +00:00
Vagrant Cascadian e074559eda
gnu: guile-json: Update to 4.7.3.
* gnu/packages/guile.scm (guile-json): Update to 4.7.3.
2022-12-11 15:23:02 -08:00
Vivien Kraus via Guix-patches via 0ce1f82e5a
news: Fix typos in French text.
* etc/news.scm: Fix typos.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2022-12-11 10:04:38 +01:00
Julien Lepiller 64e130fc6f
news: Add 'fr' translation.
* etc/news.scm: Add French translation of 'customize-linux' entry.
2022-12-10 22:13:10 +01:00
Evgeny Pisemsky 14ca72226b
gnu: perl-lingua-translit: Wrap translit program.
* gnu/packages/perl.scm (perl-lingua-translit)[arguments]: Add “wrap-translit”
phase.
[inputs]: Add bash-minimal.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-12-10 20:38:40 +01:00
Efraim Flashner a7f41aac7a
gnu: julia-geometrybasics: Update to 0.4.2.
* gnu/packages/julia-xyz.scm (julia-geometrybasics): Update to 0.4.2.
2022-12-10 21:10:10 +02:00
Efraim Flashner aa583170dc
gnu: julia-http: Update to 0.9.17.
* gnu/packages/julia-xyz.scm (julia-http): Update to 0.9.17.
[arguments]: Skip another test in 'disable-network-tests phase.
2022-12-10 21:10:10 +02:00
Efraim Flashner 9f980cdf52
gnu: julia-chainrulescore: Skip two tests.
* gnu/packages/julia-xyz.scm (julia-chainrulescore)[arguments]: Add a
phase to skip two tests.
2022-12-10 21:10:09 +02:00
Efraim Flashner a5db747515
gnu: julia-colortypes: Update to 0.11.1.
* gnu/packages/julia-xyz.scm (julia-colortypes): Update to 0.11.1.
[arguments]: Add phase to skip broken test.
2022-12-10 21:10:09 +02:00
Efraim Flashner a87f448cbf
gnu: julia-irtools: Update to 0.4.7.
* gnu/packages/julia-xyz.scm (julia-irtools): Update to 0.4.7.
2022-12-10 21:10:09 +02:00
Efraim Flashner a11281b01c
gnu: julia-benchmarktools: Update to 1.3.2.
* gnu/packages/julia-xyz.scm (julia-benchmarktools): Update to 1.3.2.
2022-12-10 21:10:08 +02:00
Efraim Flashner 71fb8f328d
gnu: julia-fixedpointnumbers: Update to 0.8.4-1.59ee94b.
* gnu/packages/julia-xyz.scm (julia-fixedpointnumbers): Update to
0.8.4-1.59ee94b.
[arguments]: Skip tests. Remove 'disable-failing-test phase.
2022-12-10 21:10:08 +02:00
Ludovic Courtès 6dbdb5fcf5
gnu: guix: Update to 1.4.0rc2. 2022-12-10 18:19:22 +01:00
Ludovic Courtès 7866294e32
deduplicate: Use 'sendfile' only with file ports.
Fixes a regression introduced in b129026e2e.

* guix/store/deduplication.scm (dump-file/deduplicate): Use 'sendfile'
only when INPUT' is a file port.
2022-12-10 18:13:39 +01:00
Ludovic Courtès 61b7e96877
install: 'umount-cow-store' retries upon EBUSY.
Possibly fixes <https://issues.guix.gnu.org/59884>.

* gnu/build/install.scm (umount*): New procedure.
(unmount-cow-store): Use it instead of 'umount'.
2022-12-10 14:34:35 +01:00
Mathieu Othacehe 4473be9858
installer: Detect mapped installation devices.
Fixes: <https://issues.guix.gnu.org/59823>

* gnu/installer/parted.scm (mapped-device?,
mapped-device-parent-partition): New procedures.
(eligible-devices): Detect mapped installation devices using the new
procedures.
2022-12-10 11:24:07 +01:00
Mathieu Othacehe 1ab48edb16
installer: Detect mapped installation devices.
Fixes: <https://issues.guix.gnu.org/59823>

* gnu/installer/parted.scm (mapped-device?,
mapped-device-parent-partition): New procedures.
(eligible-devices): Detect mapped installation devices using the new
procedures.
2022-12-10 11:23:27 +01:00
Ludovic Courtès b129026e2e
deduplicate: Use 'sendfile' for small file copies.
* guix/store/deduplication.scm (dump-file/deduplicate): Use 'sendfile'
instead of 'dump-port'.
* tests/store-deduplication.scm ("copy-file/deduplicate, below %deduplication-minimum-size"):
New test.
2022-12-10 10:56:48 +01:00
Nicolas Goaziou 5051cbaeee
gnu: emacs-wisp-mode: Update to 1.0.8.
* gnu/packages/emacs-xyz.scm (emacs-wisp-mode): Update to 1.0.8.
2022-12-10 09:13:34 +01:00
Nicolas Goaziou 991eb7717e
gnu: emacs-logview: Update to 0.16.
* gnu/packages/emacs-xyz.scm (emacs-logview): Update to 0.16.
2022-12-10 09:13:34 +01:00
Nicolas Goaziou 0e8b8550cd
gnu: emacs-jarchive: Update to 0.9.0.
* gnu/packages/emacs-xyz.scm (emacs-jarchive): Update to 0.9.0.
2022-12-10 09:13:34 +01:00
Nicolas Goaziou 3e6a8efbab
gnu: emacs-evil-nerd-commenter: Update to 3.6.0.
* gnu/packages/emacs-xyz.scm (emacs-evil-nerd-commenter): Update to 3.6.0.
2022-12-10 09:13:34 +01:00
Nicolas Goaziou 21bc825be8
gnu: emacs-ement: Update to 0.5.1.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.5.1.
2022-12-10 09:13:33 +01:00
Nicolas Goaziou bafce38e9a
gnu: emacs-company-math: Update to 1.5.
* gnu/packages/emacs-xyz.scm (emacs-company-math): Update to 1.5.
2022-12-10 09:13:33 +01:00
Nicolas Goaziou 23b64fbbe1
gnu: emacs-company-emoji: Update to 2.7.0.
* gnu/packages/emacs-xyz.scm (emacs-company-emoji): Update to 2.7.0.
2022-12-10 09:13:33 +01:00
jgart 7d48ab424b
gnu: Add emacs-acme-theme.
* gnu/packages/emacs-xyz.scm (emacs-acme-theme): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-12-10 09:13:32 +01:00
jgart d0a038b17a
gnu: Add emacs-carp.
* gnu/packages/emacs-xyz.scm (emacs-carp): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-12-10 09:13:32 +01:00
Leo Famulari 3ae6f30767
gnu: linux-libre 4.9: Update to 4.9.335.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.335.
(linux-libre-4.9-pristine-source): Update hash.
2022-12-09 19:55:38 -05:00
Leo Famulari 19836fe4f1
gnu: linux-libre 4.14: Update to 4.14.301.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.301.
(linux-libre-4.14-pristine-source): Update hash.
2022-12-09 19:55:37 -05:00
Leo Famulari 7b0fd5a0b4
gnu: linux-libre 4.19: Update to 4.19.268.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.268.
(linux-libre-4.19-pristine-source): Update hash.
2022-12-09 19:55:37 -05:00
Leo Famulari 733396eb2b
gnu: linux-libre 5.4: Update to 5.4.226.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.226.
(linux-libre-5.4-pristine-source): Update hash.
2022-12-09 19:55:37 -05:00
Leo Famulari 773ba52f93
gnu: linux-libre 5.10: Update to 5.10.158.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.158.
(linux-libre-5.10-pristine-source): Update hash.
2022-12-09 19:55:37 -05:00
Leo Famulari b52ffca2bb
gnu: linux-libre 5.15: Update to 5.15.82.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.82.
(linux-libre-5.15-pristine-source): Update hash.
2022-12-09 19:55:37 -05:00
Leo Famulari 67e8fd6b38
gnu: linux-libre: Update to 6.0.12.
* gnu/packages/linux.scm (linux-libre-6.0-version): Update to 6.0.12.
(linux-libre-6.0-pristine-source): Update hash.
2022-12-09 19:55:36 -05:00
Ludovic Courtès 591af24ade
installer: Print progress bars and such as soon as \r is read.
Fixes <https://issues.guix.gnu.org/59922>.

Previously progress bars and related things would be buffered by
'run-external-command-with-line-hooks' until \n is read.

* gnu/installer/utils.scm (run-external-command-with-line-hooks): Use
'read-delimited' rather than 'get-line'.  Pass 'concat as the last
argument.
(%display-line-hook): Remove.
(run-command): Use 'display' instead of '%display-line-hook'.
(%syslog-line-hook): Add "\n" when LINE doesn't end in \n.
(%installer-log-line-hook): Do not add an extra newline.
(installer-log-line): Add an extra newline.
2022-12-09 17:49:22 +01:00
Ludovic Courtès 556520a33c
services: nscd: Use nscd from 'glibc-final' on native builds.
This reduces the closure size of systems by removing one glibc
copy--namely (@ (gnu packages base) glibc) in addition to (@ (gnu
packages commencement) glibc-final).

* gnu/services/base.scm (<nscd-configuration>)[glibc]: Change default
value to use 'let-system' and 'canonical-package' as appropriate.
2022-12-09 16:43:25 +01:00
Ludovic Courtès 755c4b496e
system: Remove unused yggdrasil OS template.
This file was added in fe1cd098d2 but it's
not referenced from anywhere, not even gnu/local.mk.  Furthermore, we
don't normally add full OS examples for the purposes of illustrating the
use of a single service.

* gnu/system/examples/yggdrasil.tmpl: Remove.
2022-12-09 16:40:53 +01:00
Ludovic Courtès 0406df0b9b
environment: '-C' doesn't throw when the NSS is dysfunctional.
Previously, if the name service switch was dysfunctional, as can happen
on foreign distros lacking nscd, "guix shell -C" would crash with a
backtrace on the uncaught 'getpwuid' exception.  To address that, catch
the exception and deal with it gracefully.

Reported by remsd1 on #guix.

* guix/scripts/environment.scm (launch-environment/container): Wrap
'getpwuid' call in 'false-if-exception'.
2022-12-09 09:59:53 +01:00
Tobias Geerinckx-Rice 416a691cff
guix-install.sh: Authorize all project build farms at once.
* etc/guix-install.sh (sys_authorize_build_farms):
Iterate over all hosts.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-12-09 09:59:32 +01:00
Ludovic Courtès 156a881001
services: base: Use 'match-record' instead of 'match'.
* gnu/services/base.scm (agetty-shepherd-service)
(mingetty-shepherd-service)
(nscd.conf-file)
(udev-shepherd-service)
(udev-etc)
(gpm-shepherd-service)
(network-set-up/linux)
(network-tear-down/linux)
(static-networking-shepherd-service)
(greetd-agreety-tty-session-command)
(greetd-agreety-tty-xdg-session-command): Use 'match-record' instead of
'match'.
(guix-accounts): Use <guix-configuration> accessors.
(udev-service-type): Use <udev-configuration> accessors.
2022-12-08 13:21:53 +01:00
Ludovic Courtès 93d37985da
home: services: Use 'match-record' instead of 'match'.
* gnu/home/services/mcron.scm (home-mcron-shepherd-services): Use
'match-record' instead of 'match'.
* gnu/home/services/shells.scm (home-bash-extensions): Likewise.
* gnu/home/services/xdg.scm (serialize-xdg-desktop-entry): Likewise.
2022-12-08 13:21:46 +01:00
Ludovic Courtès 883aa80b45
doc: Recommend 'match-record'.
* doc/contributing.texi (Data Types and Pattern Matching): Recommend
'match-record'.
2022-12-08 13:21:35 +01:00
Ludovic Courtès 754a7660a1
records: 'match-record' checks fields at macro-expansion time.
This allows 'match-record' to be more efficient (field offsets are
computed at compilation time) and to report unknown fields at
macro-expansion time.

* guix/records.scm (map-fields): New macro.
(define-record-type*)[rtd-identifier]: New procedure.
Define TYPE as a macro and use a separate identifier for the RTD.
(lookup-field, match-record-inner): New macros.
(match-record): Rewrite in terms of 'match-error-inner'.
* tests/records.scm ("match-record, simple")
("match-record, unknown field"): New tests.
* gnu/services/cuirass.scm (cuirass-shepherd-service): Rename 'log-file'
local variable to 'main-log-file'.
* gnu/services/getmail.scm (serialize-getmail-configuration-file): Move
after <getmail-configuration-file> definition.
2022-12-08 13:21:23 +01:00
Ludovic Courtès a420b4f34e
services: fail2ban: Start server in the foreground.
Previously, we were passing '-b', thereby starting the server in the
background.  Consequently the 'start' method could complete before the
server was ready to accept connections on its socket, leading to
non-deterministic test failures.

Reported by Mathieu Othacehe <othacehe@gnu.org>.

* gnu/services/security.scm (fail2ban-shepherd-service): Change
FAIL2BAN-ACTION to invoke 'fail2ban-client'.
Change 'start' method to use 'make-forkexec-constructor'; start the
server in the foreground with '-f' and pass '-x' to force execution of
the server, as done upstream in 'fail2ban.service.in'.
2022-12-06 17:49:50 +01:00
Ludovic Courtès a508b5c778
services: fail2ban: Remove unnecessary Shepherd 'modules' field.
* gnu/services/security.scm (fail2ban-shepherd-service): Remove
unnecessary 'modules' field.
2022-12-06 17:07:46 +01:00
Ludovic Courtès e45c83c397
services: fail2ban: 'stop' returns #f when the dameon is stopped.
* gnu/services/security.scm (fail2ban-shepherd-service): Change
FAIL2BAN-ACTION to return an 'invoke' gexp.
Adjust the shepherd 'start' and 'stop' fields accordingly.  Have 'stop'
return #f on success.
2022-12-06 17:07:12 +01:00