Commit graph

1579 commits

Author SHA1 Message Date
Giacomo Leidi
5a6c35a429
nongnu: google-chrome-stable: Update to 108.0.5359.124.
The main point of this patch is to make Chrome rely as little as
possible on the environment it's run into, allowing for easier
debugging. The next step would probably be to generate this list from
the input package-name.

* nongnu/packages/chrome.scm (google-chrome-stable): Update to 108.0.5359.124;
[arguments]{patchelf-inputs}: move to outer scope;
{LD_LIBRARY_PATH}: wrap the entrypoint with all of Chrome's input, this
should prevent loading libraries that are not listed as inputs from the
outer environment;
[inputs]: add some inputs following Nix's package definition to try and
fix #215.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-01-02 11:46:13 +01:00
Mathieu Othacehe
4ef2d82528
nongnu: Keep the raw-initrd references file.
The raw-initrd contains a "references" file that is used to keep the static
guile used in the initrd alive. This file is not part of the combined-initrd.

It means that during garbage collection, the static guile could be collected
making the system unbootable because the static guile is then not part of the
store once the root is switched.

In the combined-initrds procedure, make sure to concatenate all the possible
references files of the underlying initrds into a top-level references file.

Fixes: <https://gitlab.com/nonguix/nonguix/issues/111>
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-31 13:40:41 +01:00
John Kehayias
ee2826e22b
Revert "Revert "nongnu: corrupt-linux: Rewrite to use customize-linux.""
This reverts commit 370749ab7b, reinstating
commit 3d53be2c5c now that 1.4.0 has been
released.

Original commit message:

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-29 00:39:44 -05:00
Simen Endsjø
06b180c556
nongnu: sof-firmware: Update to 2.2.3.
* nongnu/packages/linux.scm (sof-firmware): Update to 2.2.3.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-28 14:25:48 +01:00
Simen Endsjø
f0d95ff8cb
nongnu: linux-firmware: Update to 20221214.
* nongnu/packages/linux.scm (linux-firmware): Update to 20221214.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-28 14:23:47 +01:00
John Kehayias
89dd9ecb32
nongnu: steam: Fix UI scaling.
Closes #226.

* nongnu/package/steam-client.scm (make-container-wrapper): Preserve GDK_SCALE.
2022-12-27 16:38:30 -05:00
Jonathan Brielmaier
e662a42388
NEWS: Add NEWS file.
* NEWS: New file.
2022-12-19 18:26:33 +01:00
Jonathan Brielmaier
06a94f005f
.*: Use SPDX license identifiers for hidden files.
.dir-locals.el: Use SPDX license identifier.
.guix-authorizations: Dito.
.guix-channel: Dito.
2022-12-19 17:39:39 +01:00
Jonathan Brielmaier
71252d2d9d
nonguix: Add missing copyright line.
This is a follow up to daa0dda76d.

* nonguix/utils.scm: Add missing copyright line for myself.
2022-12-19 17:25:05 +01:00
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