Commit graph

1470 commits

Author SHA1 Message Date
Jonathan Brielmaier
62a5df4222
*.scm: Use SPDX license identifiers.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224

* *.scm: Use SPDX license identifier and remove obsolete license
statement.
2022-12-19 17:17:39 +01:00
Jonathan Brielmaier
edd82c43bc
news.txt: Add missing copyright line for myself. 2022-12-19 16:59:29 +01:00
Jonathan Brielmaier
6d398a35be
news.txt: Add entry for refactored Nvidia driver configuration.
* news.txt: Add entry.
2022-12-18 15:16:13 +01:00
Hilton Chain
7d4c49eace
nongnu: nversion: Remove variable.
* nongnu/packages/nvidia.scm (nversion): Remove variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:44:08 +01:00
Hilton Chain
618c7e26eb
nongnu: nvidia-module-open: Use nvidia-module as base.
* nongnu/packages/nvidia.scm (nvidia-module-open): Use nvidia-module as base.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:39:58 +01:00
Hilton Chain
8a4fef778c
nongnu: nvidia-source: Update to 515.76.
* nongnu/packages/nvidia.scm (nvidia-version, nvidia-driver,nvidia-settings): Update to 515.76
[arguments]<#:phases>: Install GBM EGL external platform library.
[inputs]: Add libdrm and mesa.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:32:11 +01:00
Hilton Chain
12104c6ed1
nongnu: nvidia-libs: Remove package.
* nongnu/packages/nvidia.scm (nvidia-libs): Remove package definition and deprecate the variable.

Co-authored-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:19:59 +01:00
Hilton Chain
4ce327023f
nongnu: nvda: Use nvidia-driver as base.
* nongnu/packages/nvidia.scm (nvda): Use nvidia-driver as base.
[inputs]: Adjusted accordingly.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:13:43 +01:00
Hilton Chain
fb5a3d0e97
nongnu: nvda: Avoid hardcoding inputs.
* nongnu/packages/nvidia.scm (nvda)[arguments]: Avoid hardcoding inputs and
locate them via relative paths instead.
[description]: Adjust style.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:12:42 +01:00
Hilton Chain
6874c66ddc
nongnu: Add nvidia-service-type.
* nongnu/services/nvidia.scm: New file.
(<nvidia-configuration>): New data type.
(nvidia-shepherd-service,nvidia-service-type): New variables.
* nongnu/packages/nvidia.scm (nvidia-driver)[description]: Adjust accordingly.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:10:33 +01:00
Hilton Chain
cbb9b59c11
nongnu: Add nvidia-firmware.
* nongnu/packages/nvidia.scm (nvidia-firmware): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:05:44 +01:00
Hilton Chain
09b37c490e
nongnu: nvidia-driver: Split post-install phase.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Split
post-install phase into patch-elf and create-short-name-symlinks phases.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:04:32 +01:00
Hilton Chain
3c0e54efbf
nongnu: nvidia-driver: Remove unused dirname variables in post-install phase.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Remove
dirname variables.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:03:41 +01:00
Hilton Chain
61c61bd8c2
nongnu: nvidia-driver: Use copy-build-system.
* nongnu/packages/nvidia.scm (nvidia-driver)[build-system]: Change to
copy-build-system.
[arguments]<#:phases>: Add create-misc-files phase.
Remove build phase.
Rename install-copy phase to post-install.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 14:01:32 +01:00
Hilton Chain
53f1b621d9
nongnu: Add nvidia-module.
This is the proprietary Nvidia kernel module.

* nongnu/packages/nvidia.scm (nvidia-module): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:44:39 +01:00
Hilton Chain
43a742bc1a
nongnu: nvidia-module: Rename to nvidia-module-open.
* nongnu/packages/nvidia.scm (nvidia-module): Rename to nvidia-module-open.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:42:31 +01:00
Hilton Chain
402f53c096
nongnu: Add procedure (make-nvidia-source).
* nongnu/packages/nvidia.scm (computed-origin-method,make-nvidia-source)
(nvidia-source): New variables.
(nvidia-driver)[source]: Use nvidia-source instead.
[arguments]<#:phases>: Remove unpack phase.
[native-inputs]: Remove perl, python-2, which and xz.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:39:47 +01:00
Hilton Chain
115b9ed40b
nongnu: nvidia-driver: Move (use-modules) out of #:phases.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:modules>: Moved out
from <#:phases>.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:38:37 +01:00
Hilton Chain
df03530aed
nongnu: nvidia-driver: Rewrite logic for creating short name symbolic links.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Rewrite
logic for creating short name symbolic links, utilizing patchelf.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:29:24 +01:00
Hilton Chain
fe9813a3ee
nongnu: nvidia-driver: Simplify udev rules creation.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Simplify udev rules creation.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:25:37 +01:00
Hilton Chain
9f4e8e82f1
nongnu: nvidia-driver: Don't hardcode inputs.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Use
G-expression and don't hardcode inputs when possible.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:24:17 +01:00
Hilton Chain
1544351697
nongnu: nvidia-driver: Fix indentation.
* nongnu/packages/nvidia.scm (nvidia-driver): Fix indentation.
[inputs,native-inputs]: Sort alphabetically.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:22:24 +01:00
Jonathan Brielmaier
370749ab7b
Revert "nongnu: corrupt-linux: Rewrite to use customize-linux."
This reverts commit 3d53be2c5c.
It depends on changes which are not available on the upstream
version-1.4.0 branch. I will add this back after the 1.4.0 release.
2022-12-18 13:05:44 +01:00
Jonathan Brielmaier
41c69c8fe5
nongnu: firefox: Update to 108.0.1 [security fixes].
Fixes CVE-2022-46871, CVE-2022-46872, CVE-2022-46873, CVE-2022-46874,
CVE-2022-46875, CVE-2022-46877, CVE-2022-46878 and CVE-2022-46879.

* nongnu/packages/mozilla.scm (rust-firefox): Update to rust-1.63.
(firefox): Update to 108.0.1.
2022-12-17 13:57:35 +01:00
Jonathan Brielmaier
d77b0d270d
nongnu: firefox-esr: Update to 102.6.0esr [security fixes].
Fixes CVE-2022-46872, CVE-2022-46874, CVE-2022-46875, CVE-2022-46878,
CVE-2022-46880, CVE-2022-46881 and CVE-2022-46882.

* nongnu/packages/mozilla.scm (firefox-esr): Update to 102.6.0esr.
2022-12-14 11:44:12 +01:00
John Kehayias
3d53be2c5c
nongnu: corrupt-linux: Rewrite to use customize-linux.
This simplifies our linux package definitions to not need hash updates as they
simply follow from the inherited part of the source field. The newly added
'customize-linux' procedure from Guix is the preferred way to customize the
kernel as well.

* nongnu/packages/linux.scm (corrupt-linux): No longer take 'version' or
'hash' arguments. Inherit from 'customize-linux' as a starting package. Remove
patch for now removed 'build-doc' phase.
(linux-6.0, linux-5.15, linux-5.10, linux-5.4, linux4.19, linux-4.14,
linux-4.9, linux-arm64-generic-6.0, linux-arm64-generic-5.15): Remove version
and hash strings.
2022-12-12 20:59:44 -05:00
Jonathan Brielmaier
e95e2b573c
nongnu: linux@5.10: Update to 5.10.158.
* nongnu/packages/linux.scm (linux-5.10): Update to 5.10.158.
2022-12-10 20:31:09 +01:00
Jonathan Brielmaier
1aaef61e62
nongnu: linux@5.15: Update to 5.15.82.
* nongnu/packages/linux.scm (linux-5.15): Update to 5.15.82.
2022-12-10 20:06:12 +01:00
Jonathan Brielmaier
5b342ac80a
nongnu: linux@6.0: Update to 6.0.12.
* nongnu/packages/linux.scm (linux-6.0): Update to 6.0.12.
2022-12-10 19:41:45 +01:00
Jonathan Brielmaier
53e294452b
nongnu: Fix typo in variable name of font-microsoft-courier-new.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/221

* nongnu/packages/fonts.scm (font-microsoft-couirer-new): Rename to
font-microsoft-courier-new. Deprecate the wrong spelling.
2022-12-10 19:08:47 +01:00
Pierre Neidhardt
25ab067f02
gnu: unrar: Update to 6.2.2.
* nongnu/packages/compression.scm (unrar): Update to 6.2.2.
2022-12-04 10:56:16 +01:00
Jelle Licht
5117915f0a
nongnu: intel-media-driver: Update to 22.5.4.
* nongnu/packages/video.scm (intel-media-driver): Update to 22.5.4.
2022-12-03 23:00:06 +01:00
Jelle Licht
e67de2ef85
nongnu: gmmlib: Update to 22.2.0.
* nongnu/packages/video.scm (gmmlib): Update to 22.2.0.
2022-12-03 22:52:51 +01:00
Jonathan Brielmaier
aae58388dc
nongnu: linux@6.0: Update to 6.0.10.
* nongnu/packages/linux.scm (linux-6.0): Update to 6.0.10.
2022-12-01 23:54:11 +01:00
John Kehayias
22b4860208
nongnu: zoom: Update to 5.12.9.367.
* nongnu/packages/messaging.scm (zoom): Update to 5.12.9.367.
2022-12-01 14:10:27 -05:00
Jonathan Brielmaier
0afe9f36d8
nongnu: firefox: Update to 107.0.1.
* nongnu/packages/mozilla.scm (firefox): Update to 107.0.1.
2022-11-30 19:35:31 +01:00
John Kehayias
2e166ea5d2
nongnu: corrupt-linux: Add infodocs patch.
Fixes #217.  Builds of the linux kernel were failing without a recently added
patch from Guix to add an infodocs target for make.  See commit
82c43b276dd5e60c81ad2c040a9d945befc4bc88.  We now use this patch for
applicable kernels (version 5.10 or greater) so the 'build-doc' phase
succeeds.

* nongnu/package/linux.scm (corrupt-linux)[source]: Add patches with
"linux-libre-infodocs-target.patch" depending on version with the procedure
doc-supported? from (gnu packages linux).
2022-11-25 17:06:43 -05:00
John Kehayias
e026dba1da
nongnu: linux-arm64-generic@5.15: Update to 5.15.79.
* nongnu/packages/linux.scm (linux-arm64-generic-5.15): Update to 5.15.79.
2022-11-23 14:33:06 -05:00
John Kehayias
99757d8370
nongnu: linux-arm64-generic@6.0: Update to 6.0.9.
* nongnu/packages/linux.scm (linux-arm64-generic-6.0): Update to 6.0.9.
2022-11-23 14:31:44 -05:00
John Kehayias
4c9f964457
nongnu: linux@4.9: Update to 4.9.333.
* nongnu/packages/linux.scm (linux-4.9): Update to 4.9.333.
2022-11-23 14:31:02 -05:00
John Kehayias
0d18f7fe45
nongnu: linux@4.14: Update to 4.14.299.
* nongnu/packages/linux.scm (linux-4.14): Update to 4.14.299.
2022-11-23 14:30:18 -05:00
John Kehayias
8c49670be4
nongnu: linux@4.19: Update to 4.19.265.
* nongnu/packages/linux.scm (linux-4.19): Update to 4.19.265.
2022-11-23 14:29:25 -05:00
John Kehayias
607e3e3541
nongnu: linux@5.4: Update to 5.4.224.
* nongnu/packages/linux.scm (linux-5.4): Update to 5.4.224.
2022-11-23 14:28:38 -05:00
John Kehayias
5b416cce01
nongnu: linux@5.10: Update to 5.10.155.
* nongnu/packages/linux.scm (linux-5.10): Update to 5.10.155.
2022-11-23 14:27:23 -05:00
John Kehayias
e70873d7c0
nongnu: linux@5.15: Update to 5.15.79.
* nongnu/packages/linux.scm (linux-5.15): Update to 5.15.79.
2022-11-23 14:25:59 -05:00
John Kehayias
5754e5ae85
nongnu: element-desktop: Update to 1.11.15.
* nongnu/packages/messaging.scm (element-desktop): Update to 1.11.15.
2022-11-23 14:22:31 -05:00
Jonathan Brielmaier
c4e0c661c8
nongnu: dxvk@1.10: Update to 1.10.3.
* nongnu/packages/wine.scm (dxvk-1.10): Update to 1.10.3. Inherit from
dxvk-1.7 so it builds again.
2022-11-23 15:38:49 +01:00
John Kehayias
1fb6413a78
nongnu: linux@6.0: Update to 6.0.9.
* nongnu/packages/linux.scm (linux-6.0): Update to 6.0.9.
2022-11-22 11:13:00 -05:00
Pierre Neidhardt
6df7d0d4f0
nongnu: dxvk-next: Update to 2.0.
* nongnu/packages/wine.scm (dxvk-next): Update to 2.0.
* nongnu/packages/wine.scm (dxvk-1.10): New variable.
2022-11-21 15:04:42 +01:00
Jonathan Brielmaier
f3227e33d1
nongnu: helix-core: Match source for all other architectures.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/214

* nongnu/packages/version-control.scm (helix-core)[source]: Match other
architectures as well, so they can `guix pull` again.
2022-11-18 09:16:04 +01:00