1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-10 08:30:39 +02:00
Commit graph

163311 commits

Author SHA1 Message Date
Mathieu Othacehe
b8a93c9261
tests: Fix opensmtpd.
Change-Id: I88db2c4b883a789359c402018c40804355040115
2025-07-09 16:30:07 +02:00
Mathieu Othacehe
64df79d9ee
tests: installer: Fix gui-installed-desktop-os-encrypted.
Change-Id: I9b94474124df4da87784157d25fe39a1887c743b
2025-07-07 23:25:50 +02:00
Mathieu Othacehe
74b35babba
tests: installer: Display the final configuration file.
Change-Id: Ia5faf696a5244ece955616b4b9a350d057b93696
2025-07-07 23:25:50 +02:00
Mathieu Othacehe
f2e87c8095
wip: Update guix.
Change-Id: I7f1794d2b9b08e10e7bd2682e41b6be39144b8ef
2025-07-07 23:25:30 +02:00
Mathieu Othacehe
3d97b82c5d
build: Add a system test runner.
Change-Id: I79a61e2df996e202ac43a0b6037df676fec4a414
2025-07-07 19:45:16 +02:00
Mathieu Othacehe
ace07d6835
Revert "install: Do not leak local checkout URL."
This reverts commit 94c9e53fa4.
2025-07-07 19:45:15 +02:00
Mathieu Othacehe
958f5af52f
Revert "install: Adjust for (package-source guix) not being a <channel>."
This reverts commit 871f09b6f7.
2025-07-07 19:33:19 +02:00
Mathieu Othacehe
84feae8928
Revert "gnu: mate: Replace 'union-build' with 'propagated-inputs'."
This reverts commit b7a8f886f5.
2025-07-07 10:20:33 +02:00
Mathieu Othacehe
7c820cd888
tests: Fix the gui installation tests.
This is a follow-up of: 4c017ccfe5. The
run-basic-test procedure is used for the gui installation tests, but the
etc-profile-d-service-type and etc-bashrc-d-service-type services that are now
needed are only defined in the test-basic-os procedure.

Build upon the introduction of the extra-tests argument to define the
etc-profile-d-service-type and etc-bashrc-d-service-type specific tests
directly in the test-basic-os procedure.

* gnu/tests/base.scm (run-basic-test): Move the etc-profile-d-service-type and
etc-bashrc-d-service-type dedicated tests to ...
(test-basic-os): ... that procedure, where the matching services are defined.

Change-Id: I050f5ab87e19889bc90cc1a375a3cc28ea9a43ab
2025-07-01 11:50:16 +02:00
Mathieu Othacehe
11b5443e48
tests: Support basic tests extension with an extra-tests argument.
* gnu/tests/base.scm (run-basic-test)[extra-tests]: New argument.

Change-Id: Ia3595638309738d3361c583c93a66e0a872adabe
2025-07-01 11:50:16 +02:00
Mathieu Othacehe
f3a8db842d
tests: Really test the etc-bashrc-d-service-type service.
Follow-up of: 4c017ccfe5.

The --init-file script will only be run in the context of an interactive
shell, which is not the case here. Use the `-i` argument instead to force an
interactive shell. That way, the test_bashrc_d.sh is now really executed.

* gnu/tests/base.scm (run-basic-test): Fix the etc-bashrc-d-service-type test.

Change-Id: I3d749f65f51ff103c76f4e3d60746ae963660329
2025-07-01 11:50:15 +02:00
Zheng Junjie
92ea9e69ac
import: nuget: Use http-fetch.
* guix/import/nuget.scm (fetch-repo-info-from-snupkg): Use http-fetch, and
guard. Dont use mkstemp, just put-bytevector to file.

Change-Id: Ied9d64651d0ccd7875a9d80ac085cf5947c40c4c
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-01 08:49:16 +01:00
Zheng Junjie
a8c11ecf1e
import: nuget: make imported package file-name clean.
* guix/import/nuget.scm (nuget->guix-package): make imported package file-name
clean.

Change-Id: Ie5a1dc1a95dc1bf795da4d960e65f5e2bd6d6b63
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-01 08:49:02 +01:00
Zheng Junjie
388d119187
import: nuget: use maybe-inputs.
* guix/import/nuget.scm (nuget->guix-package): Use maybe-inputs.

Change-Id: I6e1d3395e6c3beb4f960345a82c547307e59293c
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-01 08:48:58 +01:00
Zheng Junjie
6b861d4b62
import: nuget: Use beautify-description and beautify-synopsis.
* guix/import/nuget.scm(non-empty-string-or-false): New procedure.
* guix/import/nuget.scm (nuget->guix-package): Use beautify-description and
beautify-synopsis.

Change-Id: Ie3b4b676499558af5e6742b91a40d93624f2caf9
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-01 08:48:51 +01:00
Zheng Junjie
d8a61d2b0b
import: nuget: use xml->sxml's namespaces keyword.
* guix/import/nuget.scm (%nuget-nuspec): New variable.
(fetch-repo-info-from-snupkg): use xml->sxml's namespaces keyword.
reindentation. Do not use square brackets.

Change-Id: Ic86a12ab6557e0a7d627864c9ec39245f9cea892
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-01 08:48:47 +01:00
Zheng Junjie
8b38fb8fa7
import: nuget: use json-fetch.
* guix/import/nuget.scm (nuget-find-best-version-for-range):
(nuget-fetch-catalog-entry): Use json-fetch.

Change-Id: I5223d264d363004aacfb0cf4a522813ffa485893
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-01 08:48:42 +01:00
Zheng Junjie
2e6c177149
import: nuget: use snake-case.
* guix/import/nuget.scm (nuget-name->guix-name): use snake-case.

Change-Id: I8371d2fd6b33170c61c86302117f7952123e05b5
Reviewed-by: Danny Milosavljevic <dannym@friendly-machines.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-01 08:47:14 +01:00
Sharlatan Hellseher
6d4d231a57
gnu: packages/hexedit: Sort used module alphabetically.
* gnu/packages/hexedit.scm: Sort used module alphabetically.

Change-Id: I1c56eabb95f8ef14a6109be01ff34057f86516c2
2025-07-01 08:41:01 +01:00
Sharlatan Hellseher
a43d98e7de
gnu: Add fq.
* gnu/packages/hexedit.scm (fq): New variable.

Change-Id: I2c5f6c3c148c5bc7bf7f531dcd4c8576ce063fd8
2025-07-01 08:41:01 +01:00
Sharlatan Hellseher
14d2c595c0
gnu: Add go-github-com-wader-gojq.
* gnu/packages/golang-xyz.scm (go-github-com-wader-gojq): New variable.

Change-Id: If701d1e0d124a0f01a6d659e668994049204feda
2025-07-01 08:41:01 +01:00
Sharlatan Hellseher
a8ae0e4176
gnu: Add go-github-com-gopacket-gopacket.
* gnu/packages/golang-web.scm (go-github-com-gopacket-gopacket): New variable.

Change-Id: I43c7a5532700b4ff029562e24f901535c9f0302e
2025-07-01 08:41:01 +01:00
Sharlatan Hellseher
4eee017279
gnu: Add go-github-com-ergochat-readline.
* gnu/packages/golang-xyz.scm (go-github-com-ergochat-readline): New variable.

Change-Id: I0c2852c64043b35f1d917eff914eda45ed53f2ec
2025-07-01 08:41:01 +01:00
Sharlatan Hellseher
86f0e4c1fb
gnu: Add go-github-com-gomarkdown-markdown.
* gnu/packages/golang-xyz.scm (go-github-com-gomarkdown-markdown): New variable.

Change-Id: Ib41e5498131c73f568d26396fb021b061f59962b
2025-07-01 08:41:01 +01:00
Sharlatan Hellseher
ca666bd9fd
gnu: Add go-github-com-itchyny-go-flags.
* gnu/packages/golang-xyz.scm (go-github-com-itchyny-go-flags): New variable.

Change-Id: I96ead9b19b765aef8576f7530d7fb02509b387a1
2025-07-01 08:41:01 +01:00
Sharlatan Hellseher
df2a9ef584
gnu: Add go-github-com-itchyny-astgen-go.
* gnu/packages/golang-xyz.scm (go-github-com-itchyny-astgen-go): New variable.

Change-Id: Id34908091b9d19850186aefc8efdca035fdb6032
2025-07-01 08:40:59 +01:00
Dariqq
d756fb91ce
gnu: linux-libre-6.6: Update to 6.6.94.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to 6.6.94.
(linux-libre-6.6-pristine-source): Update hash.

Change-Id: I8cda142e67700f3cdbd0b9ddbcf83435efe5805b
Signed-off-by: Leo Famulari <leo@famulari.name>
2025-06-30 21:49:08 -04:00
Dariqq
7b3df292d7
gnu: linux-libre-6.12: Update to 6.12.34.
* gnu/packages/linux.scm (linux-libre-6.12-version): Update to 6.12.34.
(linux-libre-6.12-pristine-source): Update hash.

Change-Id: I44f1fc080e8625ecc7a74c141909bfdfecec4cfd
Signed-off-by: Leo Famulari <leo@famulari.name>
2025-06-30 21:49:08 -04:00
Ayan Das
ef0f67a613
gnu: python-lightning-utilities: Update to 0.14.3.
* gnu/packages/machine-learning.scm (python-lightning-utilities): Update to 0.14.3.

Signed-off-by: Ayan Das <bvits@riseup.net>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 19:36:42 +02:00
Ayan Das
15d5313171
gnu: python-pytorch-lightning: Update to 2.5.2.
* gnu/packages/machine-learning.scm (python-pytorch-lightning): Update to 2.5.2.

Signed-off-by: Ayan Das <bvits@riseup.net>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 19:36:42 +02:00
Nicolas Graves
76a19b08b0
doc: Update CVE documentation.
* doc/guix.texi (Invoking guix lint): Document ‘cpe-vendor’ and
‘lint-hidden-cpe-vendors’.

Change-Id: I5f3054c9f6e2d1e85a1ccb293a2471439f5e5f44
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 19:36:42 +02:00
Nicolas Graves
9df0238e06
gnu: snappy: Fix cpe-* properties.
This is a follow-up of 8842305c46.

* gnu/packages/compression.scm (snappy)[properties]: Use cpe-vendor
instead of wrongfully used cpe-name.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 19:36:42 +02:00
Matthias Riße
4f03b88b8e
gnu: git-annex: Update to 10.20250630.
* gnu/packages/haskell-apps.scm (git-annex): Update to 10.20250630.

Change-Id: I7a6bf5d8828ff832e4793787fb7bc39587e425b4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 19:36:42 +02:00
Reepca Russelstein
b79100ef61
daemon: Conditionally disable seccomp filter on ‘socketcall’ systems.
glibc currently will insist on using 'socketcall' on i686-linux unless built
with '--enable-kernel=4.3.0' or above, even on systems that have dedicated
system calls available for all the socket-related functionality.  This
behavior breaks the assumption that socketcall can be safely blocked without
impacting functionality in slirp4netns, rendering the seccomp filter unusable
with those glibcs.

This change makes the slirp4netns seccomp filter opt-in on systems with a
'socketcall' system call.  It can either be opted-into at compile-time or at
runtime using the NO_SOCKETCALL_LIBC preprocessor define or the
GUIX_FORCE_SECCOMP environment variable, respectively.

The seccomp filter being disabled on these systems means that it is possible
for a compromised slirp4netns to access abstract unix domain sockets in the
root network namespace.  It does not affect any of the other mechanisms used
to isolate slirp4netns (e.g. chroot, namespaces, etc).

Fixes guix/guix#808.

* nix/libstore/build.cc (spawnSlirp4netns) [__NR_socketcall]: Do not add
seccomp filter, unless ‘GUIX_FORCE_SECCOMP’ is set.

Change-Id: Ibfe8becc9431f5aff11a21f06858b20496f9cb4a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 19:36:41 +02:00
jgart
25522dab13
gnu: trealla: Update to 2.77.23.
* gnu/packages/prolog.scm (trealla): Update to 2.77.23.

Change-Id: Ia231b26b686e1e029f61286449ad410bed971ba0
2025-06-30 11:56:45 -05:00
Anderson Torres
22bda41fbf
gnu: vips: Update to 8.17.0.
* gnu/packages/image-processing.scm (vips): Update to 8.17.0.

Change-Id: I8ffdca949cb19735928dcbdb7d43e2c626aea7a4
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-30 13:35:55 +01:00
Anderson Torres
ac139ed47f
gnu: vips: Stylistic rewrite.
* gnu/packages/image-processing.scm (vips): Stylistic rewrite.
[native-inputs]: Reorder and write in column.
[inputs]: Reorder and write in column.

Change-Id: I04cc93e9d989c3f7fa6f0d07c76f073c615e3f4c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-30 13:35:10 +01:00
Sharlatan Hellseher
a03d6d1bd6
gnu: python-distributed: Move up.
* gnu/packages/python-science.scm (python-distributed): Sort variable
alphabetically.

Change-Id: I6b0b6ab2932b7cc1edf6097a6387ee633e537d88
2025-06-30 13:35:10 +01:00
Cayetano Santos
347fd432cd
gnu: symbiyosys: Update to 0.54.
* gnu/packages/electronics.scm (symbiyosys): Update to 0.54.

Change-Id: Ifb962d577ec1b9909dd35e13ece1ccb51ba41fc7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:41 +02:00
Cayetano Santos
0bbb7edbfd
gnu: yosys: Update to 0.54.
* gnu/packages/fpga.scm (yosys): Update to 0.54.

Change-Id: Iff161b61efa42a0903976c01fb81a62c745ec2e4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:41 +02:00
Cayetano Santos
aa71f9182c
gnu: abc-yosyshq: Update to 0.54.
* gnu/packages/fpga.scm (abc-yosyshq): Update to 0.54.

Change-Id: I81bdb9f3fd8722b4f198ab34312c5942ce925b5c
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:41 +02:00
Brice Waegeneire
715b38815f
git authenticate: Create Git hooks directory.
* guix/scripts/git/authenticate.scm (install-hooks): Create Git hooks
directory if necessary.

Change-Id: Icb9b0674d42af78fe03a3c820369f8324db960b4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00
Brice Waegeneire
c6b4fe16f4
build: Create .git/hooks/.
* Makefile.am (.git/hooks/): Add.
(.git/hooks/%, .git/hooks/commit-msg): Depend on .git/hooks/.

Change-Id: I5e027d22ec71b8cb080dca2971fabb85c593cb35
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00
Jake Forster
aa2f243ab7
gnu: insight-toolkit: Update to 5.4.4.
* gnu/packages/image-processing (insight-toolkit): Update to 5.4.4.
[source] Switch to git-fetch; apply patch.
[arguments]<#:configure-flags>: Add -DITK_USE_SYSTEM_SWIG=ON,
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON, -DITK_USE_PYTHON_LIMITED_API=OFF and
-DBUILD_TESTING=OFF.  Add -DHDF5_DIR set to HDF5's lib/cmake.
[inputs]: Add libaec.
[native-inputs]: Add git-minimal; replace swig with swig-next.
* gnu/packages/patches/insight-toolkit-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: Ifbf73709e773649fb00c2d46848d3418daaf98c1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00
Jake Forster
cd8f7f8d89
gnu: insight-toolkit: Build shared libraries.
* gnu/packages/image-processing (insight-toolkit) [arguments]
<#:configure-flags>: Replace "-DITK_BUILD_SHARED=ON" with
"-DBUILD_SHARED_LIBS=ON" to build shared libraries.

Change-Id: I0ee891a4ca0eaf969c55905202f04c2ea60ee7e1
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00
Jake Forster
d6b106b5b4
gnu: insight-toolkit: Exclude gtest target.
Fixes: guix/guix#776

This new phase makes it possible to configure projects that use
insight-toolkit.  I think this is what the configure flag '-DGTEST_ROOT=gtest'
was intended to do, but it does not.  In addition, the configure flag
'-DITK_USE_SYSTEM_GOOGLETEST=ON' and native input googletest are no longer
required to placate the configure phase.

* gnu/packages/image-processing (insight-toolkit) [arguments]
<#:configure-flags>: Remove -DITK_USE_SYSTEM_GOOGLETEST=ON and
-DGTEST_ROOT=gtest.
<#:phases>: Add phase 'exclude-gtest-target.
[native-inputs]: Remove googletest.

Change-Id: I9c2e051ac9cfc3439ea53e1a4f3207fbb2f3337b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-06-30 14:30:40 +02:00
Ada Stevenson
a13acf7985
gnu: ioquake3: Update to ab18167.
* gnu/packages/game-development.scm (ioquake3): Update to ab18167.

Change-Id: I944faac0b0ee1f9279acbf50090e77591e1c916b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-30 11:54:02 +01:00
Sharlatan Hellseher
338273aeca
gnu: python-discogs-client: Migrate to pyproject.
* gnu/packages/music.scm (python-discogs-client) [build-system]: Use
pyproject.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I6d91a792f0baf4db2d9ee259865da95b8edb235b
2025-06-30 10:58:40 +01:00
Andrew Wong
d5264a4600
gnu: Add beets-beetcamp, deprecating beets-bandcamp.
* gnu/packages/music.scm (beets-beetcamp): New variable.
(beets-bandcamp): Define as deprecated alias of beetcamp.

Change-Id: I4e056e83e0615e402edb69fbbd0a26b6ed3b55fd
Reviewed-by: Ian Eure <ian@retrospec.tv>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-30 10:49:28 +01:00
Andrew Wong
c7381a6bdb
gnu: beets: Update to 2.3.1.
* gnu/packages/music.scm (beets): Update to 2.3.1.
[native-inputs]: Add `python-poetry-core`, `python-pytest-flask`.
[inputs]: Add `python-platformdirs`, `python-lap`.
[arguments]<#:phases>: Add 'install-completion.

Change-Id: I417af8761d801e76fa85ca53b6def556d50440d8
Reviewed-by: Ian Eure <ian@retrospec.tv>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-30 10:49:21 +01:00