1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00
Commit Graph

155147 Commits

Author SHA1 Message Date
Maxim Cournoyer
b93b7c4a91 etc: Update the commit-msg hook.
Update our copy to the latest version retrieved from
<https://gerrit.googlesource.com/gerrit/+/refs/heads/master/resources/com/google/gerrit/server/tools/root/hooks/commit-msg>.

This change contains an improved version which avoids creating duplicate
Change-Id git trailer when rebasing.

* etc/git/commit-msg: Update to latest version, taking care to preserve our changes.

Change-Id: Ie6ae6aa5e81cd4fce28a6be5cd68ca0a61cdebc0
2025-02-22 23:55:24 +09:00
Maxim Cournoyer
fc3ae70520 .dir-locals.el: Have Magit recognize Change-Id git trailers.
* .dir-locals.el: Register the 'Change-Id' git trailer to the
GIT-COMMIT-TRAILERS Magit variable.

Change-Id: I45deafae39163c63d559e0d50e39ee0691533955
2025-02-22 23:55:24 +09:00
Maxim Cournoyer
aea511df93 tests: Remove extraneous 'with-store' in derivations test.
* tests/derivations.scm ("derivation fails but keep going"): Remove extraneous
'with-store'.

Change-Id: If30c2d457504b8524cd167f1a145fbbea61b513c
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-02-22 23:55:24 +09:00
Maxim Cournoyer
0bda75dd47 derivations: Fix indentation.
* guix/derivations.scm (derivation): Fix indentation.

Change-Id: I2407b59788ce335c21c181d9f9e3f26a359e9bf5
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-02-22 23:55:24 +09:00
Wiktor Żelazny
0d4ded941e gnu: Add python-sphinx-autoapi.
* gnu/packages/sphinx.scm (python-sphinx-autoapi): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: Iac37c9b67927b147969db0707679c0916c52efc1
2025-02-22 15:51:45 +01:00
Wiktor Żelazny
a17961a4dc gnu: Add python-anyascii.
* gnu/packages/python-xyz.scm (python-anyascii): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: If6d993da28ea447bec1f10f97ec3760ee6b3d1d6
2025-02-22 15:51:45 +01:00
Danny Milosavljevic
b31925665d gnu: Add podlet.
* gnu/packages/rust-apps.scm (podlet): New variable.

Change-Id: I97bc999eea9a3c4a6c8549de80f4ac4a8c9c9d22
2025-02-22 15:26:10 +01:00
Danny Milosavljevic
594dc3a793 gnu: Add rust-compose-spec.
* gnu/packages/crates-io.scm (rust-compose-spec-0.2): New variable.

Change-Id: I5c6df4dad32a6ef7714b39b36bf8afcaaf56d05c
2025-02-22 15:26:10 +01:00
Danny Milosavljevic
3ea6197091 gnu: Add rust-compose-spec-macros.
* gnu/packages/crates-io.scm (rust-compose-spec-macros-0.1): New variable.

Change-Id: Id8add4e1881f2f42fc7325d67c66d436c9a7c763
2025-02-22 15:26:10 +01:00
Danny Milosavljevic
c1b6694501 gnu: Add rust-k8s-openapi.
* gnu/packages/crates-io.scm (rust-k8s-openapi-0.22): New variable.

Change-Id: Ib6689fef5955b49e5d8508dd06ae4f449de6ea00
2025-02-22 15:26:10 +01:00
Danny Milosavljevic
86e7327de4 gnu: Add python-evemu.
* gnu/packages/linux.scm (python-evemu): New variable.

Change-Id: I79e90ff2b151c9b56213f54768c9ad39ac7843fa
2025-02-22 15:26:10 +01:00
Danny Milosavljevic
95c58847de gnu: Add waynergy.
* gnu/packages/synergy.scm (waynergy): New variable.

Change-Id: I25411e6d5699b9ed47849f2891510484e31dbb4a
2025-02-22 15:26:10 +01:00
Danny Milosavljevic
3f0b2a3f83 gnu: Add showmethekey.
* gnu/packages/video.scm (showmethekey): New variable.

Change-Id: I731a01e999890d6c9ace15d1f03a424c20e2a83a
2025-02-22 15:26:07 +01:00
gemmaro
de6f8b1b90 gnu: Add tidyall.
* gnu/packages/check.scm (tidyall): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I46d47d28760c40d5c68b4f2f4a81c625068c238a
2025-02-22 15:25:04 +01:00
gemmaro
a2621488ee gnu: perl-test-class-most: Use propagated inputs.
* gnu/packages/perl-check.scm (perl-test-class-most): Use propagated inputs
for runtime dependencies.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I8794ac94f0b75f58d5a8c756b0b6b22a8fbeb102
2025-02-22 15:24:43 +01:00
gemmaro
49626dc2b8 gnu: Add perl-specio-library-path-tiny.
* gnu/packages/perl.scm (perl-specio-library-path-tiny): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I6334cc67fef6fc1fdbbc2d68aabc36e80b866834
2025-02-22 15:24:41 +01:00
gemmaro
0933879206 gnu: perl-specio: Update to 0.49.
* gnu/packages/perl.scm (perl-specio): Update to 0.49.
[native-inputs]: Add packages for testing.
[propagated-inputs]: Update and add runtime packages.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I6951f94606a912d07d1ce679660d255d584f8e65
2025-02-22 15:24:38 +01:00
gemmaro
b00844be4f gnu: perl-mixin-linewise: Use propagated inputs.
* gnu/packages/perl.scm (perl-mixin-linewise): Use propagated inputs
for runtime dependencies.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: Ib28f22c6095543b8eccbb68af942bde49879606b
2025-02-22 15:24:36 +01:00
gemmaro
1119740f63 gnu: perl-mixin-linewise: Update to 0.111.
* gnu/packages/perl.scm (perl-mixin-linewise): Update to 0.111.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I8ca57dd4abcdd59b96dc9433050ecfed578cce6d
2025-02-22 15:24:34 +01:00
gemmaro
f82c7c2d4a gnu: Add perl-list-someutils-xs.
* gnu/packages/perl.scm (perl-list-someutils-xs): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I72e8fa2f9966e8555f504d454daeee5ca692aeb0
2025-02-22 15:24:31 +01:00
gemmaro
9829b9780f gnu: perl-list-someutils: Use propagated inputs.
* gnu/packages/perl.scm (perl-list-someutils): Use propagated inputs
for runtime dependencies.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I83367e67f38b2f358ef1498f7ee5b023426d3c4f
2025-02-22 15:24:28 +01:00
gemmaro
2bfe1409ca gnu: perl-config-ini: Use propagated inputs.
* gnu/packages/perl.scm (perl-config-ini): Use propagated inputs
for runtime dependencies.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: If2ff58f06523c6cecfca2602caaed8d1e9c4ab45
2025-02-22 15:24:25 +01:00
gemmaro
22e44509fd gnu: perl-config-ini: Update to 0.029.
* gnu/packages/perl.scm (perl-config-ini): Update to 0.029.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: Ief6bd9d49244ed9d4126269af2803b6c475ff82a
2025-02-22 15:24:21 +01:00
gemmaro
acf544bc24 gnu: Add perl-lib-relative.
* gnu/packages/perl.scm (perl-lib-relative): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I24aa4db7bbd7be9145306ee85003567b011794ba
2025-02-22 15:24:19 +01:00
gemmaro
fba7078056 gnu: Add perl-ref-util.
* gnu/packages/perl.scm (perl-ref-util): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: Ie641a030e7d5cb0be786352c90b46e2facbcd0da
2025-02-22 15:24:15 +01:00
gemmaro
a6c61bf9fc gnu: Add perl-xstring.
* gnu/packages/perl.scm (perl-xstring): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: Ib7780bc39f6dcd85eb01ede44da6875c9d2a5d8a
2025-02-22 15:24:10 +01:00
Franz Geffke
0521c109b2 gnu: Add qimgv.
* gnu/packages/image-viewers.scm (qimgv): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I474b6a5d453eee6a91405bf5f7eb1aa908e665b7
2025-02-22 15:18:25 +01:00
Franz Geffke
5ff550ba4c gnu: Add cpp-utilities.
* gnu/packages/cpp.scm (cpp-utilities): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I21651e88acefbb8de86ff1fb4e2ac71ae1ab6b45
2025-02-22 14:49:43 +01:00
Sughosha
5009d746af gnu: Add juce.
* gnu/packages/cpp.scm (juce): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I16121fed9a2a09a252a27fd3bdea72a07f6b8728
2025-02-22 14:35:09 +01:00
Bassam Saeed
7a23c56a18 gnu: Add pastel.
* gnu/packages/rust-apps.scm (pastel): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: I0b659d07be9fcdec4b30c9ea286f65ed55731342
2025-02-22 14:22:22 +01:00
Ricardo Wurmus
1fbc2625d2 gnu: r-voltron: Update to 0.2.0-4.3817548.
* gnu/packages/bioinformatics.scm (r-voltron): Update to 0.2.0-4.3817548.

Change-Id: Ia7fbfb82a4b040008dc5d8830712c14b37a7ebd2
2025-02-22 09:12:41 +01:00
Navid Afkhami
dfabaa8a6f gnu: Add python-pygam.
* gnu/packages/bioinformatics.scm (python-pygam): New variable.

Change-Id: I0bdd26546b17e3e0f96a32c6de9674d1731ba978
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2025-02-21 17:40:49 +01:00
Andreas Enge
82be68a42b gnu: gap: Enable xgap package.
* gnu/packages/algebra.scm (gap)[inputs]: Add libx11, libxaw, and libxt.
[arguments]<phases>{prepare-package-source}: Substitute paths and modify
configuration.
{remove-packages}: Do not remove xgap.
{install-packages}: Add a symlink from bin/ to xgap.sh.

Change-Id: I9466fdb3f469325f7229de210b88d371c2839504
2025-02-21 17:23:58 +01:00
Ludovic Courtès
90aa90eb05 home: services: unclutter: Add a ‘stop’ method.
* gnu/home/services/desktop.scm (home-unclutter-shepherd-service):
Remove ‘one-shot?’ field and set ‘stop’.

Change-Id: I82b915d4260a62e628b419a497c50ecf2cbc356c
2025-02-21 15:27:12 +01:00
Ludovic Courtès
e36d6ab24b services: Use ‘spawn-command’ instead of ‘fork’ + ‘waitpid’.
Fixes <https://issues.guix.gnu.org/76315>.

This is more concise and more robust: these ‘waitpid’ calls would
compete with those made by shepherd’s event loop upon SIGCHLD, and they
could hang forever, as illustrated with ‘dhcp-client-service-type’
in <https://issues.guix.gnu.org/76315>.

* gnu/services/databases.scm (postgresql-role-shepherd-service): Use
‘spawn-command’ instead of ‘fork+exec-command’ followed by ‘waitpid’.
* gnu/services/networking.scm (dhcp-client-shepherd-service): Change
‘start’ to use ‘spawn-command’ instead of ‘fork+exec-command’ and
* gnu/services/web.scm (patchwork-django-admin-gexp): Use
‘spawn-command’ instead of ‘primitive-fork’ + ‘waitpid’.

Change-Id: I449290bfa46f8600e6ccdb5a6da990ad0cb7948c
Reported-by: Tomas Volf <~@wolfsden.cz>
2025-02-21 15:27:12 +01:00
Ludovic Courtès
9f77db78e6 services: transmission: Remove custom ‘stop’ implementation.
This ‘stop’ methods had two problems:

  1. It is incompatible with the Shepherd 1.0, where the running value
     is a <process> record and not a PID.

  2. It is unreliable because its ‘waitpid’ calls compete with those
     made by shepherd’s main event loop upon SIGCHLD.

* gnu/services/file-sharing.scm (transmission-daemon-shepherd-service):
Change ‘stop’ to use ‘make-kill-destructor’.

Change-Id: I406eb619d4a72bb5afe6200ac5c8f68736a78d97
2025-02-21 15:27:12 +01:00
Cayetano Santos
abc45761ab gnu: Add python-pytooling.
* gnu/packages/python-xyz.scm (python-pytooling): New variable.

Change-Id: Id045f071b6c531d4afff4322d1a544589f214d50
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
bff76fe66a guix-install.sh: Check for existing installation before downloading.
Previously, the check came after guix_get_bin.  There’s no need to fetch
the rather large release archive if there’s an existing installation, so
check first.  Refactor the check into a function similar to other
preflight checks.

* etc/guix-install.sh: Check for existing installation before
downloading.

Change-Id: I5506fb1cacdc88bd6355e8dfa1f690acf7886c1f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
201db94628 guix-install.sh: Add msg helpers and use stderr consistently.
Add helpers to avoid repeated manual concatenation.

_err and _msg "$ERR are used interchangeably with their only difference
being output stream; convert all errors to use _err.

* etc/guix-install.sh: Add msg helpers and consolidate errors to stderr.

Change-Id: I06e97ccc50d108ed9e279ae80c6b2386d7b8c36b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
754a5ab02f guix-install.sh: Appease shellcheck.
* etc/guix-install.sh: Appease shellcheck.

Change-Id: I24f0d13bb254c08d4fe45f5aa3b74bbc6a9a9d88
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
50844e9737 guix-install.sh: Add to MANPATH.
Guix and Guix-provided software also have man pages.  If the user
doesn’t install man-db via Guix, they should still be able to read
Guix-provided man pages.

* etc/guix-install.sh (sys_create_init_profile): Add to MANPATH.

Change-Id: Ibceb354012d23d24deeb39b1ec02790873396a6b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
f9789e9bc6 guix-install.sh: Improve Guix profile sourcing.
Make both profiles use GUIX_PROFILE and reorder some code so each
profile is handled in one contiguous block.  The user’s profile now
takes precedence over the ‘guix pull’ profile on INFOPATH.  If the user
already has an info reader in their Guix profile, don’t add a duplicate
entry to INFOPATH.  If the user doesn’t have an imperative
~/.guix-profile (i.e. they manage software with Guix Home and ‘guix
shell’), don’t add an unnecessary entry to INFOPATH.  Clean up after
ourselves by unsetting the temporary GUIX_PROFILE variable, which only
needs to be set when sourcing.

* etc/guix-install.sh (sys_create_init_profile): Improve Guix profile
sourcing.

Change-Id: Ibceb354012d23d24deeb39b1ec02790873396a6b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
f726d616f8 guix-install.sh: Remove system-level Guix Home initialization.
Guix Home handles its own profile initialization in ~/.profile and
documents shell setup accordingly.  It does more than what is done here,
including running an on-first-login script to start a user Shepherd
instance.  In general, changes and improvements to Guix Home
initialization are unlikely to propagate to the foreign distro install
script, since many Guix contributors only use Guix via Guix System and
Guix Home does not depend on system-level initialization anyway.

Avoid partially initializing Guix Home in /etc/profile.d to keep search
path variables free of redundant entries.  Instead, leave a comment
directing users to the relevant manual section.

* etc/guix-install.sh (sys_create_init_profile): Remove system-level
Guix Home initialization.

Change-Id: Ib78aa0382268a789298d4980ee394d99a602a5ca
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
4b8952ea9e home: services: setup-environment: Set GUIX_LOCPATH.
Locales installed via Guix Home should be exposed to Guix packages by
default.

* gnu/home/services.scm (environment-variables->setup-environment-script):
Set GUIX_LOCPATH.

Change-Id: Ic61f0832312479ba36f471d92a12e7b4e296389f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:11 +01:00
Liam Hupfer
50a2d73eac home: services: Unset variables after profile init.
While they aren’t exported, these temporary variables show up in the
resulting shell, cluttering tab completion and declare -p.

* gnu/home/services.scm (environment-variables->setup-environment-script):
Unset shell variables.
* gnu/home/services/shells.scm (add-shell-profile-file): Likewise.

Change-Id: Ibb634849d9f38c1a9a44c0d493e92231364de958
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:10 +01:00
Liam Hupfer
890fe50d9b home: services: setup-environment: Use GUIX_PROFILE.
setup-environment already defines this variable. Use it since it’s more
concise.

* gnu/home/services.scm (environment-variables->setup-environment-script):
Use GUIX_PROFILE.

Change-Id: Ib75d8df6294976f4e95cfa7d607dc0ba21ddd258
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:10 +01:00
Karl Hallsby
8d7578ba6c services: Add xen-guest-agent-service-type.
* gnu/services/virtualization.scm (xen-guest-agent-configuration,
  xen-guest-agent-service-type): New variables.
* doc/guix.texi: Document them.

Change-Id: Id1b1f4fc2b193d73f4401e74a214222dfe1b6ea7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-02-21 15:27:10 +01:00
Ricardo Wurmus
a036a455da gnu: python-pdbfixer: Add missing inputs.
* gnu/packages/bioinformatics.scm (python-pdbfixer)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: If51cf62c3f88bf73290f7d29af0a6e8277ecddea
2025-02-21 12:10:19 +01:00
Santiago Payà i Miralta
38b4358f4d gnu: font-iosevka: Add variants to its updater script comment.
* gnu/packages/fonts.scm (font-iosevka): Add variants to the updater
script comment.

Change-Id: Ib79c3f31dd1d49c1f85ed6eb1e9a1a1779861086
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2025-02-21 12:09:05 +08:00
Santiago Payà i Miralta
66284daa50 gnu: Add font-iosevka-ss18.
* gnu/packages/fonts.scm (font-iosevka-ss18): New variable.

Change-Id: I6bed7f23f6b41061869d1188d94580b66b9949a6
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2025-02-21 12:07:40 +08:00