Commit graph

1804 commits

Author SHA1 Message Date
Hilton Chain
97925d2091
services: nvidia: No longer unload ‘nvidia_uvm’ module on powering off.
Shepherd now handles kernel processes properly, no longer need to unload the
module here.

* nongnu/services/nvidia.scm (nvidia-shepherd-service)[requirement]: Remove
'user-processes.
[one-shot?]: Set to #t.
[stop]: Remove field.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:47 -04:00
Hilton Chain
e4e34b7da4
services: nvidia: Create extra device nodes on boot.
* nongnu/services/nvidia.scm (nvidia-shepherd-service)
[requirement]: Add udev.
[start]: Create extra device nodes via ‘nvidia-smi’.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:46 -04:00
Hilton Chain
e3896f51d2
services: nvidia: Adjust configuration options.
* nongnu/services/nvidia.scm (nvidia-configuration):
[nvidia-driver]: Rename to ‘driver’.
Default to nvda.
Accept a file-like object.
[nvidia-firmware]: Rename to ‘firmware’.
Accept a file-like object.
[nvidia-module]: Rename to ‘module’.
Accept a file-like object.
[modules]: Remove option.
(nvidia-shepherd-service): Correct kernel module name.
[stop]: Don't return #f.
(nvidia-service-type): Extend profile-service-type with ‘driver’.
Adjust accordingly.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:44 -04:00
Hilton Chain
deab71dbe6
nongnu: nvidia-driver: Remove libraries provided by libglvnd.
* nongnu/packages/nvidia.scm (nvidia-source-unbundle-libraries): Remove
libraries provided by libglvnd.
(nvidia-driver)[inputs]: Add libglvnd-for-nvda.
[arguments]<#:phases>: Add it to RUNPATH.
(nvda)[arguments]<#:builder>: Add "libglvnd" from inputs to union build.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:43 -04:00
Hilton Chain
fbf5024faf
nongnu: Add mesa-for-nvda.
* nongnu/packages/nvidia.scm (mesa-for-nvda): New variable.
(nvda)[version,inputs]: Replace mesa with it.
[arguments]<#:builder>: Remove resolve-collision procedure.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:42 -04:00
Hilton Chain
8c1a56e16e
nongnu: Add libglvnd-for-nvda.
* nongnu/packages/nvidia.scm (libglvnd-for-nvda): New variable.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:40 -04:00
Hilton Chain
357888aa25
nongnu: nvda: Adjust package style.
* nongnu/packages/nvidia.scm (nvda)[arguments]<#:builder>: Adjust style.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:39 -04:00
Hilton Chain
74fa6e1916
nongnu: nvda: Adjust inputs.
* nongnu/packages/nvidia.scm (nvda)[native-inputs]: Set to '().
[propagated-inputs]: Propagate mesa and nvidia-drivers's propagated-inputs.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:37 -04:00
Hilton Chain
57c915ac9e
nongnu: nvda: Add native-search-paths.
* nongnu/packages/nvidia.scm (nvda): Add native-search-paths.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:36 -04:00
Hilton Chain
b0ebc7cb24
nongnu: nvda: Pad version to the length of mesa version.
* nongnu/packages/nvidia.scm (nvda)[version]: Pad to the length of mesa version.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:34 -04:00
Hilton Chain
2ae8a04b57
nongnu: nvidia-settings: Install desktop file.
* nongnu/packages/nvidia.scm (nvidia-settings)[arguments]<#:phases>:
Add 'install-desktop-file.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:33 -04:00
Hilton Chain
5fab8f4967
nongnu: nvidia-settings: Fix application profile path.
* nongnu/packages/nvidia.scm (nvidia-settings)[arguments]<#:phases>:
Add 'fix-application-profile-path.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:31 -04:00
Hilton Chain
54d01560e9
nongnu: nvidia-settings: Unbundle jansson.
* nongnu/packages/nvidia.scm (nvidia-settings) [inputs]: Add jansson.
[source]<snippet>: Delete bundled jansson.
[arguments]<#:make-flags>: Don't use bundled jansson.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:30 -04:00
Hilton Chain
f6c8eb082c
nongnu: nvidia-driver: Add architecture to configuration filenames.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Add
architecture to configuration filenames.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:28 -04:00
Hilton Chain
d59c557f79
nongnu: nvidia-driver: Install EGL vendor ICD configuration.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:install-plan>: Install
EGL vendor ICD configuration.
<#:phases>: Modify its library path.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:27 -04:00
Hilton Chain
0ae85eb25e
nongnu: nvidia-driver: Install GBM and VDPAU library to correct path.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Install GBM
and VDPAU library to correct path.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:25 -04:00
Hilton Chain
732cce2c90
nongnu: nvidia-driver: Update udev rules.
* nongnu/packages/nvidia.scm (%nvidia-script-create-device-nodes)
(%nvidia-udev-rules): New variables.
(nvidia-driver)[arguments]<#:modules,#:phases>: Adjust accordingly.
[inputs]: Remove bash-minimal, coreutils, grep.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:24 -04:00
Hilton Chain
c05b4995ab
nongnu: nvidia-driver: Unbundle EGL external platform libraries.
* nongnu/packages/nvidia.scm (nvidia-source-unbundle-libraries): Remove egl-gbm
and egl-wayland libraries.
(nvidia-driver)[inputs]: Add egl-gbm, egl-wayland.
Remove mesa.
[arguments]<#:phases>: Use them for configuration.
Adjust RUNPATH accordingly.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:22 -04:00
Hilton Chain
5b0465cf31
nongnu: nvidia-driver: Adjust package style.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>:
Remove $ORIGIN from RUNPATH.
Ungexp properly.
Rewrite configuration substitution.
Rename phase ‘install-nvidia-smi’ to ‘install-commands’.
Relocate libraries in a separate phase.
Remove extra spaces.
<#:install-plan>: Adjust accordingly.
[description]: Remove final newline.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:21 -04:00
Hilton Chain
2b4dfe83e9
nongnu: nvidia-driver: Remove kernel module dependencies.
* nongnu/packages/nvidia.scm (nvidia-driver)[inputs]: Remove kmod, linux-lts.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:19 -04:00
Hilton Chain
7006d54c47
nongnu: nvidia-driver: Remove library provided by opencl-icd-loader.
* nongnu/packages/nvidia.scm (nvidia-source-unbundle-libraries): Remove library
provided by opencl-icd-loader.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:18 -04:00
Hilton Chain
99e12e9cbe
nongnu: nvidia-driver: Remove libraries provided by nvidia-settings.
* nongnu/packages/nvidia.scm (nvidia-source-unbundle-libraries): Remove
libraries provided by nvidia-settings.
(nvidia-driver)[arguments]<#:phases>: Remove their dependencies from RUNPATH.
[inputs]: Remove atk, cairo, gdk-pixbuf, glib, gtk+, gtk+-2, pango.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:16 -04:00
Hilton Chain
4bc11de5dd
nongnu: make-nvidia-source: Extend functionality.
* nongnu/packages/nvidia.scm (nvidia-source-unbundle-libraries): New procedure.
(make-nvidia-source): Create installer origin internally.
Accept a ‘get-cleanup-snippet’ procedure.
(nvidia-source): Adjust accordingly.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:15 -04:00
Hilton Chain
5f7dabe418
nongnu: make-nvidia-source: Adjust style.
* nongnu/packages/nvidia.scm (computed-origin-method): Delete from top-level.
(make-nvidia-source): Use ungexp-native only once.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:13 -04:00
Hilton Chain
47941b0a84
nongnu: nvidia: Re-order variables.
* nongnu/packages/nvidia.scm: Remove unused modules.
Add comments to group NVIDIA driver packages.
Sort other packages alphabetically.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-24 20:06:11 -04:00
Jonathan Brielmaier
c1c9bb0571
nongnu: lightburn: Use qtserialport-5.
Upstream Guix upgraded qtserialport to QT@6, which seems to be
incompatible: 50a72a08af37557575199b56bbee9f334d58575a

* nongnu/packages/cad.scm (lightburn)[inputs]: Replace `qtserialport` with
`qtserialport-5`.
2024-04-24 22:58:48 +02:00
Jonathan Brielmaier
fc49e4d6db
nongnu: facetimehd: Update to 0.6.8.1.
* nongnu/packages/linux.scm (facetimehd): Update to 0.6.8.1.
2024-04-24 22:56:32 +02:00
Jonathan Brielmaier
d358152cc8
nongnu: rtl8821cu-linux-module: Update to 0.0.0-2.4f6004a.
Fixes building with newer kernel versions.

* nongnu/packages/linux.scm (rtl8821cu-linux-module): Update to 0.0.0-2.4f6004a.
2024-04-24 22:53:35 +02:00
Jonathan Brielmaier
dd080d7a91
nongnu: rtl8812au-aircrack-ng-linux-module: Update to 5.6.4.2-13.63cf0b4.
Fixes building with newer kernel versions.

* nongnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module): Update to 5.6.4.2-13.63cf0b4.
2024-04-24 22:50:41 +02:00
Jonathan Brielmaier
a276531874
nongnu: rtl8192eu-linux-module: Update to 0.0.0-7.3af9a86.
Fixes building with newer kernels.

* nongnu/packages/linux.scm (rtl8192eu-linux-module): Update to 0.0.0-7.3af9a86.
2024-04-24 22:47:14 +02:00
Tomas Volf
bb6fcec6e9
nongnu: firefox: Update to 125.0.2.
* nongnu/packages/mozilla.scm (firefox): Update to 125.0.2.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-04-22 20:55:56 +02:00
Tomas Volf
1ee5d0cc09
nongnu: firefox: Update to 125.0.1 [security fixes].
Fixes CVE-2024-3302, CVE-2024-3852, CVE-2024-3853, CVE-2024-3854,
CVE-2024-3855, CVE-2024-3856, CVE-2024-3857, CVE-2024-3858,
CVE-2024-3859, CVE-2024-3860, CVE-2024-3861, CVE-2024-3862,
CVE-2024-3863, CVE-2024-3864, CVE-2024-3865.

* nongnu/packages/mozilla.scm (firefox): Update to 125.0.1.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-17 12:57:55 -04:00
Tomas Volf
22ceef2501
nongnu: firefox-esr: Update to 115.10.0esr [security fixes].
Fixes CVE-2024-2609, CVE-2024-3302, CVE-2024-3852, CVE-2024-3854,
CVE-2024-3857, CVE-2024-3859, CVE-2024-3861, CVE-2024-3863,
CVE-2024-3864.

* nongnu/packages/mozilla.scm (firefox-esr): Update to 115.10.0esr.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-17 12:57:48 -04:00
Hilton Chain
f9a27a679b
nongnu: linux-xanmod: Update to 6.8.6.
* nongnu/packages/linux.scm (linux-xanmod-version): Update to 6.8.6.
(linux-xanmod-source): Update hash.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-14 16:00:03 -04:00
Hilton Chain
60c4ea0dd0
nongnu: linux-xanmod-lts: Update to 6.6.27.
* nongnu/packages/linux.scm (linux-xanmod-lts-version): Update to 6.6.27.
(linux-xanmod-lts-source): Update hash.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-14 16:00:02 -04:00
Hilton Chain
9c70cf49c8
nongnu: make-linux-xanmod: Remove unnecessary option overrides.
Guix can identify builtin modules when building the initrd now.

* nongnu/packages/linux.scm (make-linux-xanmod)[arguments]<#:phases>: Don't
override CONFIG_CRYPTO_XTS and CONFIG_VIRTIO_CONSOLE in 'add-xanmod-defconfig.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-04-14 16:00:00 -04:00
John Kehayias
393abd05a2
nongnu: element-desktop: Update to 1.11.64.
* nongnu/packages/messaging.scm (element-desktop): Update to 1.11.64.
2024-04-14 15:59:59 -04:00
Hilton Chain
80b273e86a
nongnu: installation-os-nonfree: Set default channels.
* nongnu/system/install.scm (%signing-key,%channels): New variables.
(installation-os-nonfree)[services]: Configure them.
Authorise Nonguix substitute server.

Tested-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-04-13 13:05:31 +02:00
John Kehayias
54fb2194a1
nongnu: linux-lts: Update to 6.6 series.
Upstream Guix defaulted linux-libre-lts to 6.6 in commit
b4aed68e960116b2b60f68ea1468d7a526149823.  Do likewise here.

* nongnu/packages/linux.scm (linux-lts): Use linux-6.6.
2024-04-08 22:07:31 -04:00
John Kehayias
2978ae66b9
nongnu: Remove linux-6.7.
Guix will remove linux-libre-6.7 soon (end of life), so remove linux-6.7
before it leads to an error in 'guix pull' when it is removed upstream.

* nongnu/packages/linux.scm (linux-6.7): Remove variable.
2024-04-08 22:04:35 -04:00
John Kehayias
ec3565d284
nongnu: linux: Update the default linux package to the 6.8 series.
Upstream Guix defaulted to linux-libre-6.8 in commit
40e44bdea6f4c3dc3563427fdf096a60812534a7.  Do likewise here.

* nongnu/packages/linux.scm (linux): Use linux-6.8.
2024-04-08 22:01:54 -04:00
Jelle Licht
e7d3824c87
nongnu: intel-media-driver: Update to 23.4.3.
* nongnu/packages/video.scm (intel-media-driver): Update to 23.4.3.
2024-04-07 17:56:38 +02:00
Jelle Licht
7651e8be04
nongnu: gmmlib: Update to 22.3.15.
* nongnu/packages/video.scm (gmmlib): Update to 22.3.15.
2024-04-07 17:56:21 +02:00
Tomas Volf
ec1daa71c7
nongnu: firefox: Update to 124.0.2.
* nongnu/packages/mozilla.scm (firefox): Update to 124.0.2.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-04-04 21:26:23 +02:00
Jonathan Brielmaier
a79f2b58e2
nongnu: compcert: Update to 3.13.1.
* nongnu/packages/coq.scm (compcert): Update to 3.13.1.
[arguments]: Allow newer coq version.
2024-04-01 15:46:19 +02:00
Timotej Lazar
8d047fc9a1
gnu: eduke32, fury: Update to 20240316-10564-0bc78c53d.
* nongnu/packages/game-development.scm (eduke32, fury): Update to
20240316-10564-0bc78c53d. Rewrite to use gexps.
[arguments]: Drop unnecessary make-flags. Drop wrapper script as upstream now
handles configuration directories.
[native-inputs]: Add gdk-pixbuf to fix compilation.
[license]: Add gpl2.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-04-01 14:53:37 +02:00
Timotej Lazar
b04018d38a
gnu: linux-firmware: Don’t skip deduplication.
* nongnu/packages/linux.scm (linux-firmware)[arguments]: Don’t skip file
deduplication.
[native-inputs]: Add rdfind.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-04-01 14:39:04 +02:00
Timotej Lazar
d6dbbc3a55
nongnu: linux-firmware: Switch to gexps.
* nongnu/packages/linux.scm (linux-firmware, amd-microcode, amdgpu-firmware,
atheros-firmware, i915-firmware, ibt-hw-firmware, iwlwifi-firmware,
radeon-firmware, realtek-firmware): Switch to gexps.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-04-01 14:39:04 +02:00
Timotej Lazar
34dec82fa9
nongnu: linux-firmware: Update to 20240312.
* nongnu/packages/linux.scm (linux-firmware): Update to 20240312.
[arguments]: Disable strip-binaries? and validate-runpath? flags but keep the
corresponding build phases.
(select-firmware): Handle the new RawFile keyword.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-04-01 14:38:54 +02:00
Giacomo Leidi
62daa38457
nonguix: chromium-binary: Use search-path-as-list from (guix build utils).
We rely on the upstream implementation to avoid duplicating effort.

* nonguix/build/chromium-binary-build-system (install-wrapper): Use
search-path-as-list;
* nonguix/build/utils.scm (build-paths-for-input): remove variable;
(build-paths-from-inputs): remove variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-03-30 19:50:51 +01:00