Commit graph

172223 commits

Author SHA1 Message Date
Ludovic Courtès
633ed510fa
tests: guix-daemon: Check that build processes can chown to “kvm”.
* gnu/tests/base.scm (guix-daemon-test-cases)[chown-snippet]: New
variable.
["kvm GID mapped"]: New test.

Change-Id: I0ce7a9250539766628eb2459d60abce7c05a36ee
2025-10-21 16:52:30 +02:00
Ludovic Courtès
ab01e5adb2
tests: debian-install: Install the ‘uidmap’ package.
* gnu/tests/foreign.scm (run-foreign-install-test): Add #:deb-files.
[test]("install extra .deb packages"): New test.
(debian-uidmap-deb-file): New variable.
(%test-debian-install): Pass it via #:deb-files.

Change-Id: I489056131d6ff20763457c29610af71866a396b2
2025-10-21 16:52:02 +02:00
Ludovic Courtès
69710d1d3a
services: guix: Populate /etc/subgid so guix-daemon can map the “kvm” GID.
* gnu/services/base.scm (guix-activation): Add a line for ‘guix-daemon’
in /etc/subgid.
(guix-shepherd-services): Add /run/privileged/bin to ‘PATH’.

Change-Id: Ic103d86986ce2ace194b0a4296a00278bf0617eb
2025-10-21 16:32:04 +02:00
Ludovic Courtès
84c60c3c3b
services: guix: Preserve ‘guix-daemon’ user supplementary groups.
When running ‘guix-daemon’ unprivileged, supplementary groups such as
“kvm” were dropped by ‘run-with-writable-store’.

* gnu/services/base.scm (run-with-writable-store): Use ‘read-group’ to
determine the list of supplementary groups for ‘user’ and pass that to
‘setgroups’.

Change-Id: I21cc546a91a1a24cc94cafb44fa93e088f8673a7
2025-10-21 16:31:56 +02:00
Nicolas Graves
9a2e2c22ca
teams: Add Nicolas Graves to core team.
* etc/teams.scm (person)[Nicolas Graves]: Add to core team.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-21 16:30:24 +02:00
Rutherther
c346f195fb
vm-image.tmpl: Use /dev/vda2 as root file system device.
The /dev/vda1 partition points to an EFI partition.
The /run/current-system/configuration.scm will then point to an incorrect
partition - to the EFI partition instead of root partition. Fix that by
pointing it to the default root-label "Guix_image".
This allows users to reconfigure out of the /run/current-system/configuration.scm.

* gnu/system/examples/vm-image.tmpl: Switch root filesystem device
to /dev/vda2.

Change-Id: I983892fb3c860dc5bbb2a1654d28db83e88d8c1a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-21 16:30:23 +02:00
Rutherther
4641d4bb8e
vm-image.tmpl: Do not leak local checkout URL.
Follow up of 94c9e53fa4 that made similar change, but in
gnu/system/install.scm.

Change local checkout url for the default channel url to ensure release images
will not leak local checkout url.

* gnu/system/examples/vm-image.tmpl: Change channel of
‘guix’ package to inherit from ‘%default-guix-channel’.

Change-Id: I1c633b44cfa067cae1d2948e7e7ef6922995c27d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-21 16:30:23 +02:00
FuncProgLinux
17f14d45f7
gnu: Add mate-indicator-applet.
* gnu/packages/mate.scm (mate-indicator-applet): New variable.

Change-Id: Iad9f3d54a084efce1302b682a358d30dc4c4b42e

gnu: Add mate-indicator-applet.

* gnu/packages/mate.scm (mate-indicator-applet): New variable.

Change-Id: Iad9f3d54a084efce1302b682a358d30dc4c4b42e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-21 16:30:23 +02:00
Ludovic Courtès
e5637ffb28
gnu: guix: Update to 21ce6b3.
* gnu/packages/package-management.scm (guix): Update to 21ce6b3.

Change-Id: I3894926a412576aa814166a6081db1db0e27b282
2025-10-21 15:35:20 +02:00
Efraim Flashner
4d9b38d94a
gnu: go-1.23: Fix tests on aarch64-linux.
* gnu/packages/golang.scm (go-1.23)[arguments]: Replace the
'disable-more-tests phase.

Change-Id: I008d6d73aaeabce5d83fe044473b37902d2d375f
2025-10-21 09:42:22 +01:00
Efraim Flashner
a9a69db46b
gnu: go-1.20: Build without binutils-gold.
* gnu/packages/golang.scm (go-1.20)[native-inputs]: Remove gold.

Change-Id: I88d39932063efe53da21c3cc51458d05423a9cae
2025-10-21 09:42:22 +01:00
Sharlatan Hellseher
ea028c3b0d
gnu: go-1.17: Add binutils-gold for armhf-linx and aarch64-linux.
Compilation of "plugin.test" fails on aarch64-linux system after
binutils-gold was removed form native inputs. This change adds it back
conditionally.

    /gnu/store/pm409aqyb5i21sf9kn8li31p91sfrj38-gcc-14.3.0/bin/gcc
    -s
    -Wl,-z,now
    -Wl,-z,nocopyreloc
    -fuse-ld=gold
    -o
    $WORK/b1499/plugin.test
    -Wl,-rpath,/gnu/store/4hw376vyz889zgzrr8mkp82c0d4iz391-gcc-14.3.0-lib/lib
    -rdynamic
    <...>
    -O2
    -g
    -ldl
    -O2
    -g
    -lpthread

    collect2: fatal error: cannot find ‘ld’

See: <https://bordeaux.guix.gnu.org/build/a702cf61-da67-4900-95d2-b2eabd9b83cf/log>.
Change-Id: Ida07cafd632c355dc05cad1ce4ccd0cd6f38a530
2025-10-21 09:42:22 +01:00
Sharlatan Hellseher
1f770b0dd5
gnu: matterbridge: Build with go-1.24.
* gnu/packages/messaging.scm (matterbridge)[arguments] <go>: Use default (go-1.24).
<test-flags>: Don't vet during tests.

Change-Id: I3dd7cefb6d9fbd4eef49b80030804ef7cc1981ef
2025-10-21 09:42:22 +01:00
Sharlatan Hellseher
7ee76098fb
gnu: lyrebird: Buid with go-1.24.
* gnu/packages/golang-web.scm (lyrebird)[arguments] <go>: Use
default (go-1.24).

Change-Id: I2d9939f39f091305d005d832b167f8373f35951c
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
b274e2d5c8
gnu: go-github-com-yggdrasil-network-yggdrasil-go: Fix build.
* gnu/packages/golang-web.scm (go-github-com-yggdrasil-network-yggdrasil-go):
[propagated-inputs]: Remove go-github-com-quic-go-quic-go; add
go-github-com-quic-go-quic-go-0.52.

Change-Id: Ib128a6046fafec068b2cade455d208b161c3a50d
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
0398fe7434
gnu: go-0xacab-org-leap-obfsvpn: Fix build.
* gnu/packages/golang-web.scm (go-0xacab-org-leap-obfsvpn):
[propagated-inputs]: Remove go-github-com-quic-go-quic-go; add
go-github-com-quic-go-quic-go-0.52.

Change-Id: I99e83e0a72cebc979fdde99e559fb61a6e4595a5
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
e894877ca0
gnu: yggdrasil: Fix build.
* gnu/packages/networking.scm (yggdrasil)[propagated-inputs]: Remove
go-github-com-quic-go-quic-go; add go-github-com-quic-go-quic-go-0.52.

Change-Id: I2b5d3e52d1916c9991ac45ce2f49f2419540d54c
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
b37e3a93ab
gnu: Add go-github-com-quic-go-quic-go-0.52.
* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go-0.52): New variable.

Change-Id: I38253b048e05a5e5734b8e5ead14823b29fb2675
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
0903ac0f57
gnu: go-github-com-nektos-act: Fix build.
* gnu/packages/golang-vcs.scm (go-github-com-nektos-act)[arguments]
<go>: Use default (go-1.24).

Change-Id: Ifffb48cd1612b786ccd3dfa53a239bc8290c1bb7
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
630089402e
gnu: Remove go-gopkg-in-inconshreveable-log15-v1.
* gnu/packages/golang-xyz.scm (go-gopkg-in-inconshreveable-log15-v1):
Delete variable.
(go-gopkg-in-inconshreveable-log15-v2): Don't inherit from
go-gopkg-in-inconshreveable-log15-v1, adopt missing fields from it
instead.

Change-Id: I9a892abc0122a79d0264ba9520028cec1c74ddb6
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
c2528ddb3c
gnu: go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-snowflake-v2: Build with go-1.24.
* gnu/packages/golang-web.scm
(go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-snowflake-v2)[arguments]
<go>: Use default (go-1.24).
<test-flags>: Don't vet during tests.

Change-Id: Ifb30c9316e84d209c5ed2b09782c5dedbc1de742
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
0bb20afb7d
gnu: kubo: Update to 0.36.0.
* gnu/packages/ipfs.scm (kubo): Update to 0.36.0.
[inputs]: Remove go-github-com-ipfs-go-log and go-github-com-ipld-go-car; add
go-github-com-anmitsu-go-shlex.

Change-Id: I12c645d254a3ebc4a5958c110dd715eb456fa55f
2025-10-21 09:42:21 +01:00
Sharlatan Hellseher
335ac5b59a
gnu: go-github-com-ipfs-boxo: Update to 0.33.0.
* gnu/packages/ipfs.scm (go-github-com-ipfs-boxo): Update to 0.33.0.
[propagated-inputs]: Remove go-github-com-ipld-go-car.
(go-github-com-libp2p-go-libp2p-kad-dht-bootstrap)[propagated-inputs]:
Add go-github-com-hashicorp-golang-lru.

Change-Id: I104143d88519a2b04ce67407fb2334e0003d950e
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
cf4e7b48bd
gnu: go-go-opencensus-io: Reduce amount of tests.
* gnu/packages/golang-web.scm (go-go-opencensus-io)[arguments]
<test-subdirs>: Some tests are not no longer compatible  with
go-golang-org-x-* libraries, keep some portion of them.

Change-Id: I169fa68db74f19022feb3367ccecb386b1724e85
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
4b0ad81334
gnu: go-github-com-libp2p-go-libp2p: Update to 0.43.0.
* gnu/packages/ipfs.scm (go-github-com-libp2p-go-libp2p): Update to 0.43.0.
[propagated-inputs]: Remove go-github-com-ipfs-go-ds-badger,
go-github-com-ipfs-go-ds-leveldb, and
go-github-com-raulk-go-watchdog; add go-golang-org-x-time.

Change-Id: I537e205e866339aaa22f0a2b6195b0c676364d37
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
fa279b15bc
gnu: go-github-com-quic-go-webtransport-go: Update to 0.9.0.
* gnu/packages/golang-web.scm (go-github-com-quic-go-webtransport-go): Update to 0.9.0.

Change-Id: I6cdccb61db4fd9b51c9614df4d52f4fff0968e2f
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
b034aa8743
gnu: go-github-com-quic-go-quic-go: Update to 0.54.1.
* gnu/packages/golang-web.scm (go-github-com-quic-go-quic-go): Update to 0.55.0.
[source] <snippet>: Remove submodule with it's own go.mod file.
[arguments] <go>: Use default (go-1.24).
<phases>: Use default 'check as upstream reverted to "go test"; add
'remove-examples, and 'pre-check.
[propagated-inputs]: Add go-github-com-prometheus-client-golang and
go-golang-org-x-tools.
[native-inputs]: Remove go-ginkgo and go-github-com-onsi-ginkgo-v2.

Change-Id: Ifa61a46bb8800332f8a82abcad224ca9dfff30e9
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
2e400263d3
gnu: go-github-com-quic-go-qpack: Update to 0.5.1.
* gnu/packages/golang-web.scm (go-github-com-quic-go-qpack): Update to 0.5.1.
[arguments] <tests?>: Enable the most of them.
<test-subdirs>: Run test only from the project's root.
[propagated-inputs]: Remove go-github-com-onsi-ginkgo and
go-github-com-onsi-gomega.
[native-inputs]: Add go-github-com-stretchr-testify.
[description]: Fix fill column.

Change-Id: Ia891acf16b9bef63a582fd9e24769f10ad0c50b0
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
8be0c8e468
gnu: go-go-uber-org-mock: Update to 0.6.0.
* gnu/packages/golang-check.scm (go-go-uber-org-mock): Update to 0.6.0.
[native-inputs]: Add go-github-com-stretchr-testify.

Change-Id: I1c9ff7e9e9d9197f5d70d3ee4f0fc234e6bc013a
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
b296234afd
gnu: go-google-golang-org-protobuf: Update to 1.36.10.
* gnu/packages/golang-build.scm (go-google-golang-org-protobuf): Update to 1.36.10.

Change-Id: I4715fd3168cacb31faa1daa72b168dc18719969e
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
574f9f2044
gnu: go-google-golang-org-genproto-googleapis-rpc: Update to 0.0.0-1.49b9836.
* gnu/packages/golang-build.scm (go-google-golang-org-genproto-googleapis-rpc):
Update to 49b9836ed3ff1e1dd329d17e442987447e931c7d commit.

Change-Id: I5f92ba3259967558823e9847441a05181773392f
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
2af67d808a
gnu: go-golang-org-x-time: Update to 0.14.0.
* gnu/packages/golang-build.scm (go-golang-org-x-time): Update to 0.14.0.

Change-Id: I921867bf95484513d401b05d7364916a49627872
2025-10-21 09:42:20 +01:00
Sharlatan Hellseher
339142103b
gnu: go-golang-org-x-text: Update to 0.30.0.
* gnu/packages/golang-build.scm (go-golang-org-x-text): Update to 0.30.0.

Change-Id: Ia58d4364950b25ddc822700eda2ffb1c822ab386
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
72ba411276
gnu: go-golang-org-x-term: Update to 0.36.0.
* gnu/packages/golang-build.scm (go-golang-org-x-term): Update to 0.36.0.

Change-Id: I712b71d37e7885aa4fa6b2dfa289f5ad3cf92311
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
283009cb49
gnu: go-golang-org-x-telemetry-config: Update to 0.68.0.
* gnu/packages/golang-build.scm (go-golang-org-x-telemetry-config): Update to 0.68.0.

Change-Id: I99516ad0c17470b84da379f6ea6ff8624f95e364
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
776ea9ed28
gnu: go-golang-org-x-telemetry: Update to 0.0.0-20251009181524-91c411e14f39.
* gnu/packages/golang-build.scm (go-golang-org-x-telemetry): Update to
0.0.0-20251009181524-91c411e14f39.
[arguments] <test-flags>: Rework the list of skipped tests.

Change-Id: I29099e6399554454d07be05352cad2da9cc4f3d5
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
f8fbca67fa
gnu: go-golang-org-x-sys: Update to 0.37.0.
* gnu/packages/golang-build.scm (go-golang-org-x-sys): Update to 0.37.0.

Change-Id: I084cd9f1af5d1c927a7c6d82cbedf6df0278c176
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
2215262844
gnu: go-golang-org-x-sync: Update to 0.17.0.
* gnu/packages/golang-build.scm (go-golang-org-x-sync): Update to 0.17.0.

Change-Id: Id15ca8821af599d9341dffdbf9cd79bac4441167
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
0fe3b5c441
gnu: go-golang-org-x-net: Update to 0.46.0.
* gnu/packages/golang-build.scm (go-golang-org-x-net): Update to 0.46.0.

Change-Id: Id7f044f8dc4f4867d20f1e3badb55524c6c5b4cf
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
27c0da4a19
gnu: go-golang-org-x-mod: Update to 0.29.0.
* gnu/packages/golang-build.scm (go-golang-org-x-mod): Update to 0.29.0.

Change-Id: Id8d960331c53510d4de61d60a8fe1776846fc958
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
09b28cb454
gnu: go-golang-org-x-image: Update to 0.32.0.
* gnu/packages/golang-build.scm (go-golang-org-x-image): Update to 0.32.0.
[arguments] <skip-build?>: Use it instead of deleting 'build phase.

Change-Id: I4508a94887cec29a462c3fbf5e22cc7f61c0f666
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
fdba35dc71
gnu: go-golang-org-x-exp-typeparams: Update to 0.0.0-20251009144603-d2f985daa21b.
* gnu/packages/golang-build.scm (go-golang-org-x-exp-typeparams): Update to 0.0.0-20251009144603-d2f985daa21b.

Change-Id: I347db0b5cd2545c16c40bec7f5989a920115733c
2025-10-21 09:42:19 +01:00
Sharlatan Hellseher
469d760d49
gnu: go-golang-org-x-crypto: Update to 0.43.0.
* gnu/packages/golang-build.scm (go-golang-org-x-crypto): Update to 0.43.0.
[source] <snippet>: Delete more submodules with which have go.mod files
and have to be packages individually.
[arguments] <test-flags>: Skip one test.

Change-Id: I2c826688c05e257e86e70442eba559c1f9dbf94b
2025-10-21 09:42:18 +01:00
Sharlatan Hellseher
c34b494aca
gnu: go-golang-org-x-arch: Update to 0.22.0.
* gnu/packages/golang-build.scm (go-golang-org-x-arch): Update to 0.22.0.

Change-Id: I0c28af8446cbedba1be9fb6afd9a1ede65312433
2025-10-21 09:42:18 +01:00
Sharlatan Hellseher
144b0884f3
gnu: go-github-com-yuin-goldmark: Update to 1.7.13.
* gnu/packages/golang-build.scm (go-github-com-yuin-goldmark): Update to 1.7.13.

Change-Id: If480fa03211fca24f91d2dced67ec7bc2ffa5af7
2025-10-21 09:42:18 +01:00
Sharlatan Hellseher
5cb50768a6
gnu: go-github-com-twitchyliquid64-golang-asm: Update to 0.15.1.
* gnu/packages/golang-build.scm
(go-github-com-twitchyliquid64-golang-asm): Update to 0.15.1.
[arguments] <go>: Use default (go-1.24).
<test-flags>: Don't vet during tests.

Change-Id: I2147d8c114f0d1bac59826f5c71bd46a7d40a56c
2025-10-21 09:42:18 +01:00
Sharlatan Hellseher
dcaab2a9b8
gnu: go-github-com-ebitengine-purego: Update to 0.9.0.
* gnu/packages/golang-build.scm (go-github-com-ebitengine-purego): Update to 0.9.0.

Change-Id: I3f5239b9a33ea186578b2d0ca4c02728636ac2a2
2025-10-21 09:42:18 +01:00
Sharlatan Hellseher
7837f46497
gnu: go-github-com-pion-turn-v4: Update to 4.1.1.
* gnu/packages/golang-web.scm (go-github-com-pion-turn-v4): Update to 4.1.1.

Change-Id: I6e76eb777ed871c86df4f8afbe1dc75ecb6af4d5
2025-10-21 09:42:18 +01:00
Sharlatan Hellseher
06934f10c9
gnu: Remove go-github-com-pion-turn.
This package has no users in Guix and was placed for inheritance only,
fails to build.

* gnu/packages/golang-web.scm (go-github-com-pion-turn): Delete variable.
(go-github-com-pion-turn-v2): Don't inherit and make it stand alone packae.
(go-github-com-pion-turn-v3): Inherit from go-github-com-pion-turn-v2.

Change-Id: I63700e5b482187740bc192880278a0ab3989d04c
2025-10-21 09:42:18 +01:00
Sharlatan Hellseher
4e0eb0e451
gnu: Add go-github-com-prometheus-alertmanager.
* gnu/packages/prometheus.scm (go-github-com-prometheus-alertmanager): New variable.

Change-Id: Idb07cab53deabfda9c01b379d1790bbb9682c4b6
2025-10-21 09:42:18 +01:00