me
/
guix
Archived
1
0
Fork 0
Commit Graph

136806 Commits (f65bd477b0c7f58004a810cc9ba5f29bc231ee35)

Author SHA1 Message Date
Efraim Flashner e6eadcb136
gnu: edk2-tools: Enable submodules.
* gnu/packages/firmware.scm (edk2-tools)[source]: Checkout submodules.
[arguments]: Don't disable building brotli or xz compression.

Change-Id: I8b318373e38767e1a309e9e385f1626429bfbb20
2024-05-27 10:26:23 +03:00
Efraim Flashner 16e52098d1
gnu: edk2-tools: Update to 202402.
* gnu/packages/firmware.scm (edk2-tools): Update to 202402.

Change-Id: I3ab7d75a8193faea2b3b3649f9b14bba48611187
2024-05-27 10:26:23 +03:00
Efraim Flashner dd8364cfae
gnu: e2fsprogs: Downgrade to 1.46.6.
1.47.0 would, by default, create an ext4 filesystem which was not
readable by our current version of grub.  This should also address a
number of the system test failures.

* gnu/packages/linux.scm (e2fsprogs): Downgrade to 1.46.6.

Change-Id: Ifa6841185ab85d24479f981afc1b42a349716d80
2024-05-27 10:26:20 +03:00
kiasoc5 a3e5caa222
gnu: ugrep: Update to 6.0.0.
* gnu/packages/search.scm (ugrep): Update to 6.0.0.
[source]: Adjust snippet to avoid deleting ug+ and ugrep+ shell scripts.

Change-Id: I9beb1415fe8bfbe12a1e9d22d1606b1fc92ef16b
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-05-27 15:21:34 +08:00
Wilko Meyer dc0fe79b61
gnu: waypipe: Update to 0.9.0.
* gnu/packages/freedesktop.scm (waypipe): Update to 0.9.0.

Change-Id: Icfeeada6d8b064decd620998e7af495bd1f9b1dd
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-05-27 15:21:34 +08:00
Artyom V. Poptsov 8c3bfb0a0b
gnu: ascii: Update to 3.20.
* gnu/packages/shellutils.scm (ascii): Update to 3.20.
[arguments]: Use gexps.

Change-Id: I8141a5596bf404bc93d53578e45bc78ee1b60f04
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-05-27 15:21:34 +08:00
Timotej Lazar 442b328a9e
gnu: qmmp: Update to 2.1.8.
* gnu/packages/music.scm (qmmp): Update to 2.1.8.

Change-Id: If3d04c4b8d20a262b61c1c7ec45b2a29f48f882e
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2024-05-27 15:21:34 +08:00
Efraim Flashner 3ccec0598d
gnu: system-config-printer: Fix build on riscv64-linux.
* gnu/packages/gnome.scm (system-config-printer)[arguments]: When config
is an input add a phase to replace config.guess and config.sub.
[native-inputs]: Add config when building for riscv64-linux.

Change-Id: Iad0d2cbadd9c9f90b88e97e7690ad3b0ad0e6882
2024-05-27 09:11:12 +03:00
Efraim Flashner 488a39503a
gnu: gnome-keyring: Don't run tests in parallel on riscv64-linux.
* gnu/packages/gnome.scm (gnome-keyring)[arguments]: When building for
riscv64-linux don't run the tests in parallel.

Change-Id: Ib86965c52d42e3fcaa35efc97890d0da4478e46f
2024-05-27 09:11:07 +03:00
宋文武 473cdecd89
gnu: freegish: Update to 0-3.caf58a2f9.
* gnu/packages/games.scm (freegish): Update to 0-3.caf58a2f9.
[inputs]: Replace sdl-union with sdl2.  Remove zlib.
[arguments]: Adjust configure-flags, remove unneeded phases.

Change-Id: I43883bd3de985dc337e244a810214ea5ae6aabd1
2024-05-27 09:31:47 +08:00
宋文武 f119408f2f
doc: Replace 'specification->package+output' with 'specifications->packages'.
'(map specification->package+output specs)' doesn't work due to
'specification->package+output' will return multiple values.

* doc/guix.texi (Using the Configuration System): Replace
'specification->package+output' with 'specifications->packages'.

Change-Id: I443771327a2ef5ae5e7dddd9785f1eef4200e898
2024-05-27 09:28:39 +08:00
Wilko Meyer 0f3a25a25e
gnu: linux-libre 4.19: Update to 4.19.315.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.315.
(linux-libre-4.19-pristine-source): Update hash.

Change-Id: I43b80c214d87e385e422ce064c3d04e11c4a1997
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-26 14:51:37 -04:00
Wilko Meyer d9be2796a7
gnu: linux-libre 5.4: Update to 5.4.277.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.277.
(linux-libre-5.4-pristine-source): Update hash.

Change-Id: I0a51101f41109f784cb7a2cda47a01ab79378b46
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-26 14:51:37 -04:00
Wilko Meyer e853e77f7b
gnu: linux-libre 5.10: Update to 5.10.218.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.218.
(linux-libre-5.10-pristine-source): Update hash.

Change-Id: Ied5ce90401f0934ce9fcedad9be86376d3288f56
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-26 14:51:36 -04:00
Wilko Meyer bc9651ba44
gnu: linux-libre 5.15: Update to 5.15.160.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.160.
(linux-libre-5.15-pristine-source): Update hash.

Change-Id: Ic3eddd036fc083cfb4c9ca0d549757c957bd388a
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-26 14:51:36 -04:00
Wilko Meyer c6d599b851
gnu: linux-libre 6.1: Update to 6.1.92.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.92.
(linux-libre-6.1-pristine-source): Update hash.

Change-Id: Ica9c1ad4e7505dd19dbf2e0852bad8550acec44d
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-26 14:51:36 -04:00
Wilko Meyer 47340cc934
gnu: linux-libre 6.6: Update to 6.6.32.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.32.
(linux-libre-6.6-pristine-source, deblob-scripts-6.6): Update hashes.

Change-Id: I518ccfefd49ec31341f2d47e096898292fa7f914
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-26 14:51:35 -04:00
Wilko Meyer 76982726c2
gnu: linux-libre-6.8: Update to 6.8.11.
* gnu/packages/linux.scm (linux-libre-6.8-version): Update to 6.8.11.
(linux-libre-6.8-pristine-source, deblob-scripts-6.8): Update hashes.

Change-Id: I5eedf40c8f3ad42805d38f6e7b057a6b0171ae33
Signed-off-by: Leo Famulari <leo@famulari.name>
2024-05-26 14:51:35 -04:00
Wilko Meyer cc728a393e
gnu: Add linux-libre 6.9.
Big thanks to Dariqq <dariqq@posteo.net> for debugging and communicating
upstream about a problem with the deblobbing scripts in this kernel
series!

* gnu/packages/linux.scm (linux-libre-6.9-version, linux-libre-6.9-gnu-revision,
deblob-scripts-6.9, linux-libre-6.9-pristine-source, linux-libre-6.9-source,
linux-libre-headers-6.9, linux-libre-6.9): New variables.
* gnu/packages/aux-files/linux-libre/6.9-arm.conf,
gnu/packages/aux-files/linux-libre/6.9-arm64.conf,
gnu/packages/aux-files/linux-libre/6.9-i686.conf,
gnu/packages/aux-files/linux-libre/6.9-x86.conf: New files.
* Makefile.am (AUX_FILES): Add them.

Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: I8dc011a603684f0be88766b7881aa6c560b94443
2024-05-26 14:51:32 -04:00
Timo Wilken dc8fb56724
gnu: Add luarocks.
* gnu/packages/lua.scm (luarocks): Add variable.
* gnu/packages/lua.scm (make-luarocks): New function.
* gnu/packages/lua.scm (lua5.2-luarocks): New variable.

Co-authored-by: Andrew Tropin <andrew@trop.in>

Signed-off-by: Andrew Tropin <andrew@trop.in>

Change-Id: I7f14f43c85384917b2bd39bdedafb372558a1ab8
2024-05-26 14:41:05 +04:00
Artyom V. Poptsov e51d98d8e9
gnu: fasd: Update to 1.0.2.
* gnu/packages/admin.scm (fasd): Update to 1.0.2.
[source]: Use project fork that integrates recent pull requests as the
original project is unmaintained and archived.
[home-page]: Update.
[description]: Improve formatting.
[license]: Change to expat (MIT) license as "LICENSE" file of the project
contains MIT license.

Change-Id: I0070c394a9a8b80ac137728831c0eb7a0e15e2b4
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-26 09:52:42 +01:00
Andy Tai 13d5e6f84a
gnu: xpra: Update to 6.0.1.
* gnu/packages/xorg.scm (xpra): Update to 6.0.1.

Change-Id: Iddd33aa57f1959c753df892c9b26df48e85b16ad
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-05-26 09:51:11 +01:00
Christopher Baines a4a45669c7
gnu: python-scikit-image: Disable test_ellipse_parameter_stability.
As it's flaky, see https://github.com/scikit-image/scikit-image/issues/7061

* gnu/packages/python-science.scm (python-scikit-image)[arguments]: Add
 #:test-flags.

Change-Id: Ic1fc301eb0fad5330c34780ce096c446c1076824
2024-05-26 09:51:09 +01:00
Maxim Cournoyer 77771036f0
configure.ac: Set default value for the 'prefix' variable.
The Guix standard configuration uses a localstatedir of /var and a sysconfdir
of /etc.  To ease things for everyone, make the default values match that
standard expected configuration.  See
<https://lists.gnu.org/archive/html/guix-devel/2024-05/msg00003.html> for a
related discussion.

* configure.ac: Default $prefix to '' unless already set.
* doc/contributing.texi (Building from Git): Streamline doc.
* doc/guix-cookbook.texi (Guix environment via direnv): Likewise.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I23cd12b58a842d246fbc9fdc740311c573eb0212
2024-05-25 23:28:30 -04:00
Vagrant Cascadian 94c8cec999
gnu: vcmi: Update to 1.5.1.
* gnu/packages/games.scm (vcmi): Update to 1.5.1.
[#:configure-flags]: Disable use of embedded innoextract.
2024-05-25 13:18:01 -07:00
Andre A. Gomes 888d526822
gnu: cl-misc-extensions: Update to 4.0.3.
* gnu/packages/lisp-xyz.scm (sbcl-misc-extensions): Update to 4.0.3.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Change-Id: I7eb1da2bb4d1491551d0e4e60e76b6ceceee07c7
2024-05-25 21:43:10 +02:00
Guillaume Le Vaillant 51966d1bae
gnu: lisp-xyz : Sort packages.
The sbcl-* packages are sorted in alphabetical order, but the cl-* and ecl-*
variants are kept just below the main sbcl package.

* gnu/packages/lisp-xyz.scm: Sort packages.

Change-Id: I95d7151923284bd3d8da57af8ad3a160370941f0
2024-05-25 21:43:10 +02:00
Yann Dupont 83fc6c7f72
gnu: lvm2: Remove systemd rule.
* gnu/packages/patches/lvm2-no-systemd.patch: New file.
* gnu/packages/linux.scm (lvm2)[source]: Apply patch.
* gnu/local.mk: Register new patch.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
Change-Id: Ib4342e0ce3cc5778857ccecd557f3d397aa870d9
2024-05-25 19:39:15 +02:00
Ludovic Courtès cca25a6769
services: shepherd: Failure to load a service does not prevent booting.
Fixes <https://issues.guix.gnu.org/71144>.

Fixes a bug whereby, when loading a service file would fail, for
instance due to an unbound variable, a REPL would be opened on the
console, preventing the system from booting.

This fixes that by isolating service load errors and making them
non-fatal.

* gnu/services/shepherd.scm (shepherd-configuration-file)[config]:
Remove call to ‘call-with-error-handling’.  Use ‘filter-map’ instead of
‘map’ to iterate over service files, and catch exceptions raised by
‘load-compiled’.

Change-Id: Ie6e76ea514837f85386232f797bc77b2882b5c22
2024-05-25 16:52:29 +02:00
Ludovic Courtès 5a7cb59648
deduplication: Detect holes and create sparse files.
This reduces disk usage of sparse files that are substituted such as
Guile object files (ELF files).  As of Guile 3.0.9, .go files are sparse
due to ELF sections being aligned on 64 KiB boundaries.

This reduces disk usage reported by “du -sh” by 9% for the ‘guix’
package, by 23% for ‘guile’, and by 35% for ‘guile-git’.

* guix/store/deduplication.scm (hole-size, find-holes): New procedures.
(tee)[seekable?]: New variable.
[read!]: Add case when SEEKABLE? is true.
* tests/store-deduplication.scm (cartesian-product): New procedure.
("copy-file/deduplicate, sparse files (holes: ~a/~a/~a)"): New test set.

Change-Id: Iad2ab7830dcb1220e2026f4a127a6c718afa8964
2024-05-25 16:44:42 +02:00
Ludovic Courtès 73b3f941d7
maint: Suggest ‘guix git authenticate’ for initial authentication.
The previous recommendation, running ‘make authenticate’, was insecure
because it led users to run code from the very repository they want to
authenticate:

  https://lists.gnu.org/archive/html/guix-devel/2024-04/msg00252.html

* Makefile.am (commit_v1_0_0, channel_intro_commit)
(channel_intro_signer, GUIX_GIT_KEYRING, authenticate): Remove.
* Makefile.am (.git/hooks/%): New target, generalization of previous
‘.git/hooks/pre-push’ target.
(nodist_noinst_DATA): Add ‘.git/hooks/post-merge’.
* doc/contributing.texi (Building from Git): Suggest ‘guix git
authenticate’ instead of ‘make authenticate’.
* etc/git/post-merge: New file.
* etc/git/pre-push: Run ‘guix git authenticate’ instead of ‘make
authenticate’.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reported-by: Skyler Ferris <skyvine@protonmail.com>
Change-Id: Ia415aa8375013d0dd095e891116f6ce841d93efd
2024-05-25 16:23:56 +02:00
Richard Sent 0efa1daad3
doc: Document ‘assume-valid-file-name’ in ‘local-file’.
* doc/guix.texi (G-Expressions): Document the use of assume-valid-file-name with
local-file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I132f78e198cbf3ba2e5a677d671563d753de534c
2024-05-25 16:19:22 +02:00
Giacomo Leidi be868f69aa
gnu: Add tests for oci-container-service-type.
* gnu/tests/docker.scm (run-oci-container-test): New variable;
(%test-oci-container): new variable.

Change-Id: Idefc3840bdc6e0ed4264e8f27373cd9a670f87a0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-25 15:34:57 +02:00
Giacomo Leidi c07731a777
gnu: docker: Allow passing tarballs for images in oci-container-configuration.
This commit allows for loading an OCI image tarball before running an
OCI backed Shepherd service. It does so by adding a one shot Shepherd
service to the dependencies of the OCI backed service that at boot runs
docker load on the tarball.

* gnu/services/docker.scm (oci-image): New record;
(lower-oci-image): new variable, lower it;
(string-or-oci-image?): sanitize it;
(oci-container-configuration)[image]: allow also for oci-image records;
(oci-container-shepherd-service): use it;
(%oci-image-loader): new variable.

Change-Id: Ie504f479ea0d47f74b0ec5df9085673ffd3f639d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-25 15:34:53 +02:00
Giacomo Leidi 68adfaea25
gnu: docker: Allow setting Shepherd dependencies in oci-container-configuration.
* gnu/services/docker.scm (oci-container-configuration)
[requirement]: New field;
(list-of-symbols): sanitize it;
(oci-container-shepherd-service): use it.
* doc/guix.texi: Document it.

Change-Id: Ic0ba336a2257d6ef7c658cfc6cd630116661f581
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-25 15:34:47 +02:00
Giacomo Leidi e68c1af4f4
gnu: docker: Allow setting host environment variables in oci-container-configuration.
* gnu/services/docker.scm (oci-container-configuration)
[host-environment]: New field;
(oci-sanitize-host-environment): sanitize it;
(oci-container-shepherd-service): use it.
* doc/guix.texi: Document it.

Change-Id: I4d54d37736cf09f042a71cb0b6e673abc0948d9c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-25 15:34:43 +02:00
Giacomo Leidi 003c89a85c
gnu: docker: Provide escape hatch in oci-container-configuration.
* gnu/services/docker.scm (exports): Add missing procedures;
(oci-container-service-type)[description]: Docker and OCI images should
mean the same thing;
(oci-container-configuration): clarify field types;
[extra-arguments]: new field;
(oci-sanitize-extra-arguments): sanitize it;
(oci-container-shepherd-service): use it.
* doc/guix.texi: Document it.

Change-Id: I64e9d82c8ae538d59d1c482f23070a880156ddf7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-25 15:34:38 +02:00
Giacomo Leidi a237f0d436
services: Add restic-backup service.
* gnu/services/backup.scm: New file.
* gnu/local.mk: Add this.
* doc/guix.texi: Document this.

Change-Id: I9efd5559bb445b484107a7c27c2d0a65ccad1e66
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-25 15:24:14 +02:00
Ludovic Courtès cbac0b1db0
environment: Fix type error with ‘-C’ when ‘getpwuid’ fails.
Fixes a bug with ‘guix shell -C …’ in cases where ‘getpwuid’
returns #f (for example because nscd isn’t running) and
‘user’ is #f.

* guix/scripts/environment.scm (launch-environment/container): Use
‘name’ when building the ‘directory’ value, not ‘user’ since it can be #f.

Change-Id: I5da807d982a1edbb4122ac29b5a1e5fc4b0ce1b7
2024-05-25 15:10:11 +02:00
Guillaume Le Vaillant 9756d9d634
gnu: cl-nodgui: Update to 0.6.2.0-1.9d0c973.
* gnu/packages/lisp-xyz.scm (sbcl-nodgui): Update to 0.6.2.0-1.9d0c973.
  [inputs]: Add sbcl-flexi-streams, sbcl-static-vectors,
  sbcl-trivial-garbage. Move sbcl-clunit2 to...
  [native-inputs]: ... here.

Change-Id: I2299175a06786ce93fde34aa54005c00b40edd71
2024-05-25 11:16:09 +02:00
Guillaume Le Vaillant 8ca6e63b00
gnu: cl-access: Update to 1.6.0-1.a4f87fc.
* gnu/packages/lisp-xyz.scm (sbcl-access): Update to 1.6.0-1.a4f87fc.
  [source, home-page]: Switch to maintained repository.
  [inputs]: Remove sbcl-anaphora and sbcl-cl-interpol. Add sbcl-cl-ppcre.

Change-Id: Idbc140b1264156e975b69ab65423765d5f5a77d1
2024-05-25 11:04:33 +02:00
Guillaume Le Vaillant 1fa8997f6f
gnu: cl-stmx: Update to 2.0.5-3.95f7dea.
* gnu/packages/lisp-xyz.scm (sbcl-stmx): Update to 2.0.5-3.95f7dea.
  [arguments]: Remove 'fix-build' phase.

Change-Id: I72e3f323f38ced32ea03ab2661d5802e93e13572
2024-05-25 10:52:53 +02:00
Guillaume Le Vaillant 199e8f9581
gnu: cl-collectors: Update to 1.0-2.4c5e70c.
* gnu/packages/lisp-xyz.scm (sbcl-collectors): Update to 1.0-2.4c5e70c.

Change-Id: I95c9beb1aa5e59b658ee091ab14d803e6eded3fe
2024-05-25 10:47:19 +02:00
Guillaume Le Vaillant 2ac3d61ca3
gnu: cl-cf: Update to 1.0-2.fbc025b.
* gnu/packages/lisp-xyz.scm (sbcl-cf): Update to 1.0-2.fbc025b.

Change-Id: Ide38475fb171f71c5dc35bb12d66a81b0f08cf64
2024-05-25 10:43:13 +02:00
Efraim Flashner c5e63e19ac
gnu: gssdp-1.4: Fix building.
This is a follow-up to 9901416233.

* gnu/packages/gnome.scm (gssdp-1.4)[arguments]: Override inherited
arguments to set the configure-flags specifically.

Change-Id: Ifbdaf278a402a26b344b6dcd7a5e3d4e22148561
2024-05-24 16:45:41 +03:00
Efraim Flashner 9901416233
gnu: ctl: Update to 1.5.3.
* gnu/packages/graphics.scm (ctl): Update to 1.5.3.
[source]: Download using git-fetch.
[arguments]: Don't skip the tests.
[inputs]: Add libtiff.

Change-Id: Iae08b6a2a7c0418bde10b31c3356425750703a9f
2024-05-23 20:39:13 +03:00
Efraim Flashner 7e762ab09e
gnu: roxterm: Fix lint errors.
* gnu/packages/terminals.scm (roxterm)[source]: Add the file-name field.
Follow source url redirect.
[home-page]: Follow redirect.

Change-Id: Id68c87679a95656212c0c0edb916066e90a037d7
2024-05-23 20:39:13 +03:00
Efraim Flashner 0ad3cc75ae
gnu: shared-mime-info: Fix cross-compiling.
* gnu/packages/freedesktop.scm (shared-mime-info)[native-inputs]: When
cross-compiling add libxml2 and this-package.

Change-Id: I254a685a492b9080342b134ff23d9ccab0ecec3d
2024-05-23 20:39:13 +03:00
Efraim Flashner 4ab8657b23
gnu: libbraille: Fix build on some architectures.
* gnu/packages/accessibility.scm (libbraille)[arguments]: When building
with config as a native-input replace the config.guess and config.sub
files.
[native-inputs]: When building for aarch64-linux, powerpc64le-linux or
riscv64-linux add config.

Change-Id: I7e7953a2b91868fa3f2698d3cb82da134564c06b
2024-05-23 20:39:13 +03:00
Efraim Flashner 1bfffc007a
gnu: gtk-vnc: Build with gjs on more architectures.
* gnu/packages/gnome.scm (gtk-vnc)[native-inputs] Use gjs as an input on
architectures where it is supported.

Change-Id: I723f53be8e225732572ede81a03d712a946be528
2024-05-23 20:39:13 +03:00