Commit graph

1837 commits

Author SHA1 Message Date
Tomas Volf
3857d86267
nongnu: linux: Enable mt7921e driver.
In order to be able to use WiFi chip in P14s ThinkPad, the mt7921e module is
required.  This commit enables it in kernels that do have it.

I originally implemented this using a list of additional option, same way
%default-extra-linux-options is done.  However I quickly realized that
approach is not suitable for hardware enablement.  The older versions do not
support the same drivers as the newer ones.

Solution is to create a new procedure that generates the list for a specific
kernel version and use it as a default value for #:configs.

* nongnu/packages/linux.scm (nonguix-extra-linux-options): New procedure.
(corrupt-linux): Use it as default value for #:configs.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-23 18:25:40 +01:00
Tomas Volf
d0a8b135d3
nongnu: firefox: Update to 122.0 [security fixes].
Fixes CVE-2024-0741, CVE-2024-0742, CVE-2024-0743, CVE-2024-0744,
CVE-2024-0745, CVE-2024-0746, CVE-2024-0747, CVE-2024-0748,
CVE-2024-0749, CVE-2024-0750, CVE-2024-0751, CVE-2024-0752,
CVE-2024-0753, CVE-2024-0754, CVE-2024-0755.

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

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-23 18:13:39 +01:00
Tomas Volf
94f27641b1
nongnu: firefox-esr: Update to 115.7.0esr [security fixes].
Fixes CVE-2024-0741, CVE-2024-0742, CVE-2024-0746, CVE-2024-0747,
CVE-2024-0749, CVE-2024-0750, CVE-2024-0751, CVE-2024-0753,
CVE-2024-0755.

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

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-23 18:11:09 +01:00
Ada Stevenson
47d7caa231
nongnu: linux-firmware: Update to 20240115.
* nongnu/packages/linux.scm (linux-firmware): Update to 20240115.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-22 20:06:09 +01:00
Jonathan Brielmaier
da242a7ba1
nongnu: linux@4.14: Remove it.
`linux-libre-4.14` got removed in upstream Guix commit:
497780ad25faf71d3ace39efe7451ef01e353d5b.

* nongnu/packages/linux.scm (linux-4.14): Remove variable.
2024-01-22 20:01:59 +01:00
Tomas Volf
45c3dca80d
nongnu: firefox-esr: Use lambda instead of λ.
Following the project's conventions, replace the λ symbol with the lambda
keyword.

* nongnu/packages/mozilla.scm (firefox-esr)
[arguments]<#:phases>['patch-SpeechDispatcherService.cpp]: Use lambda.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-01-20 17:14:22 -05:00
John Kehayias
53df88e36f
nongnu: Add linux@6.7.
Upstream added linux-libre@6.7 in 95a3aaf7ad37bb0717f2c9e3faf6f636b586d133 but
it is not yet the default.

* nongnu/packages/linux.scm (linux-6.7): New variable.
2024-01-20 16:44:32 -05:00
Christopher League
fcdda9283a
nongnu: zoom: Ignore some QML/QT environment variables.
Fixes https://gitlab.com/nonguix/nonguix/-/issues/301

* nongnu/packages/messaging.scm (zoom)[arguments]: Reset some QML/QT
environment variables.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-17 22:59:39 +01:00
Tomas Volf
02903cebbf
.dir-locals.el: Add geiser-insert-actual-lambda.
Guix project seems to prefer using lambda over λ.  Express that preference for
Geiser users by setting the geiser-insert-actual-lambda variable to nil.  In
the 0.31 version it will affect how geiser-insert-lambda works, making it
insert lambda string (instead of the current λ.

* .dir-locals.el (nil): Add geiser-insert-actual-lambda set to nil.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-17 22:19:48 +01:00
John Kehayias
01f18977c2
news: Fix entry for GUIX_SANDBOX_EXTRA_SHARES.
* news.txt: Incorrect paren placement.  How embarrassing!
2024-01-10 12:56:32 -05:00
John Kehayias
8c03b980b6
news: Add entry for GUIX_SANDBOX_EXTRA_SHARES variable.
* news.txt: Add entry.
2024-01-10 11:58:10 -05:00
John Kehayias
8078757b88
nonguix: multiarch-container: Allow extra shared directories.
Basic fix for #237.

This allows exposing other directories or drives to the nonguix container, for
example to add additional library locations to Steam, by setting
$GUIX_SANDBOX_EXTRA_SHARES.

* nonguix/multiarch-container.scm (make-container-wrapper): Use environment
variable $GUIX_SANDBOX_EXTRA_SHARES to pass extra directories to share with
the container.
2024-01-10 11:57:37 -05:00
Tomas Volf
9a502ae1b0
nongnu: firefox: Update to 121.0.1.
* nongnu/packages/mozilla.scm (firefox): Update to 121.0.1.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-09 18:12:49 +01:00
John Kehayias
5b8b13c956
nongnu: heroic-client: Update to 2.12.0.
* nongnu/packages/game-client.scm (heroic-client): Update to 2.12.0.
2024-01-08 14:37:21 -05:00
Hilton Chain
9080e44271
nongnu: linux-xanmod: Update to 6.6.10.
* nongnu/packages/linux.scm (linux-xanmod-version): Update to 6.6.10.
(linux-xanmod-source): Update hash.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-07 17:08:42 +01:00
Hilton Chain
999f7386b7
nongnu: linux-xanmod-lts: Update to 6.1.71.
* nongnu/packages/linux.scm (linux-xanmod-lts-version): Update to 6.1.71.
(linux-xanmod-lts-source): Update hash.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-07 17:08:18 +01:00
Hilton Chain
0b4f1c3aff
nongnu: make-linux-xanmod: Adjust style.
* nongnu/packages/linux.scm (%default-extra-linux-options,config->string):
Move into make-linux-xanmod.
(make-linux-xanmod): Adjust comments.
Move the base kernel produced by customize-linux out of let form.
[native-inputs]: Use prepend instead of append.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-07 17:06:54 +01:00
Hilton Chain
1eaa24df40
nongnu: make-linux-xanmod-source: Patch upstream kernel source instead.
* nongnu/packages/linux.scm (make-linux-xanmod-source): Patch upstream linux
source instead of downloading the auto-generated tarball from GitLab.
(make-linux-xanmod)[arguments]<#:phases>: Delete 'remove-localversion, moved
to snippet.
(linux-xanmod-source,linux-xanmod-lts-source): Adjust accordingly.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-07 16:14:00 +01:00
Giacomo Leidi
f325d88cb6
nongnu: anytype: Update to 0.37.3.
* nongnu/packages/productivity.scm (anytype): Update to 0.37.3;
[arguments]<phases>: avoid hardcoding the icon path in anytype.desktop.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-07 16:03:21 +01:00
John Kehayias
1f91ecd3c0
nonguix: multiarch-container: Set LD_LIBRARY_PATH inside container.
Fixes #303.

Previously LD_LIBRARY_PATH was being set before the container was launched,
which could cause issues on some foreign distros where this alters what is
loaded from an FHS structure.  This was only meant to be set inside the
container, though this didn't cause any issues on a Guix System.

* nonguix/multiarch-container.scm (make-container-wrapper): Move setting
LD_LIBRARY_PATH from here ...
(make-internal-script): ... to here.
2024-01-06 17:01:18 -05:00
John Kehayias
7dd68696a2
nongnu: multiarch-container: Fix missing module on foreign distros.
Fixes #277.

See discussion in above issue for details and some education on what went
wrong here.  In short, we didn't capture the needed (guix build utils) module
in the container script.  On a Guix System this didn't cause any problems as
guix modules are found through set Guile environment variables.  But on a
foreign distro these weren't set without hacky workarounds.  This prevented
Steam from launching with a "no code for module" error.

* nonguix/multiarch-container.scm (make-container-wrapper)[make-container-wrapper]:
Use 'with-imported-modules' for (guix build utils).
2024-01-04 21:01:33 -05:00
Giacomo Leidi
a328f6c91f
nonguix: binary: Cleanup when an unknown binary extension is detected.
The binary-unpack phase suffered from a problem for unknown binary file
extensions, see: !336 (comment 1709385147) . This patch fixes the
incorrect behavior by effectively restoring the state of the directory
tree before the phase.

* nonguix/build/binary-build-system.scm (binary-unpack): Restore the
environment as it was before this phase.
* nongnu/packages/clojure.scm (clj-kondo)[arguments]: No longer delete
'binary-unpack phase.
* nongnu/packages/game-development.scm (libsteam)[arguments]: dito.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2024-01-04 23:19:53 +01:00
John Kehayias
4f2dca3915
news: Fix entry for steam-client module renaming.
* news.txt: Use correct commit in steam-client module entry.
2024-01-03 23:34:01 -05:00
John Kehayias
e823034e40
nongnu: Add heroic.
* nongnu/packages/game-client.scm (heroic-client, heroic-extra-client-libs,
heroic-container, heroic-nvidia-container, heroic, heroic-nvidia): New
variables.
* nonguix/multi-arch-container.scm (make-container-wrapper): Preserve "^SSL_"
for heroic to use curl.
(make-internal-script): Add symlink for "/usr/share/glib-2.0".
2024-01-03 23:02:39 -05:00
John Kehayias
c6771b89c3
news: Add entry for steam-client module renaming.
* news.txt: Add entry.
2024-01-03 20:10:44 -05:00
John Kehayias
1591c3d1d1
nongnu: Rename (nongnu packages steam-client) module.
* nongnu/packages/steam-client.scm: Rename to ...
* nongnu/packages/game-client.scm: ... this.
2024-01-03 20:10:35 -05:00
Timo Wilken
07b884a7b1
nongnu: steam-nvidia: Fix launching .desktop files.
Steam installs .desktop files that refer to an executable called `steam'.
Installing steam-nvidia as the `steam-nvidia' executable breaks this, which
means Steam cannot be launched from its desktop icon.  This also applies to
.desktop files for individual games generated by Steam, when they are copied
from `<ngc-sandbox-home>/.local/share/applications/'.

Fix this by always installing Steam's wrapper executable as `steam'.  We add a
new field using "binary" to keep things shorter.

This has the downside that the `steam' and `steam-nvidia' packages cannot be
installed in the same profile, but likely people wouldn't want to do this
anyway.

Fixes #294.

* nongnu/packages/steam-client.scm (steam-nvidia-container)[binary-name]:
Specify for compatibility with .desktop files.
* nonguix/multiarch-container.scm (<nonguix-container>)[binary-name,
ngc-binary-name]: New field and accessor.
(nonguix-container->package): Use it to set correct executable name.
(make-internal-script): Use it in message.

Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2024-01-03 17:24:44 -05:00
Jonathan Brielmaier
8956906f6b
nongnu: libsteam: Fix build.
The new unpack-binary phase seems to not harmonize with patchelf always:
https://gitlab.com/nonguix/nonguix/-/merge_requests/336#note_1709385147

* nongnu/packages/game-development.scm (libsteam)[arguments]: Delete
'binary-unpack for now.
2023-12-29 00:47:13 +01:00
Jonathan Brielmaier
0f35566104
nongnu: clj-kondo: Fix build.
The new unpack-binary phase seems to not harmonize with patchelf always:
https://gitlab.com/nonguix/nonguix/-/merge_requests/336#note_1709385147

* nongnu/packages/clojure.scm (clj-kondo)[arguments]: Delete
'binary-unpack phase for now and change style to gexp.
[native-inputs]: change style to gexp.
[inputs]: dito.
2023-12-29 00:46:48 +01:00
Giacomo Leidi
13114fa36d
nongnu: anytype: Avoid manually unpacking .deb file.
* nongnu/packages/productivity.scm (anytype)[phases] Drop
'unpack-deb phase;
[native-inputs]: drop tar.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 23:48:22 +01:00
Giacomo Leidi
62d1c7ab6b
nongnu: lycheeslicer: Avoid manually unpacking .deb file.
* nongnu/packages/engineering.scm (lycheeslicer)[phases]<unpack>:
Replace with 'setup-cwd;
<symlink-binary-file>: there's no need anymore to care about the
environment-variables file;
[native-inputs]: drop tar.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 23:46:20 +01:00
Giacomo Leidi
9a0253ae89
nongnu: element-desktop: Avoid manually unpacking .deb file.
* nongnu/packages/messaging.scm (element-desktop)[phases]<unpack>:
Replace with 'setup-cwd;
<symlink-binary-file>: there's no need anymore to care about the
environment-variables file;
[native-inputs]: drop tar.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 23:44:25 +01:00
Giacomo Leidi
a6c27f4d2f
nongnu: signal-desktop: Avoid manually unpacking .deb file.
* nongnu/packages/messaging.scm (signal-desktop)[phases]<unpack>:
Replace with 'setup-cwd;
<symlink-binary-file>: there's no need anymore to care about the
environment-variables file;
[native-inputs]: drop tar.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 23:43:29 +01:00
Giacomo Leidi
a33d57ee74
nongnu: chrome: Avoid manually unpacking .deb file.
* nongnu/packages/chrome.scm (make-google-chrome)[phases] Drop
'unpack-deb phase;
[native-inputs]: drop tar.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 23:42:33 +01:00
Giacomo Leidi
00e0b5f319
nonguix: binary: Automatically detect and unpack .deb files.
A new binary-unpack phase is added to the binary-build-system. When a
supported binary file is detected as the only file after the unpack
phase it is then decompressed in a specific directory.

* nonguix/build/binary-build-system.scm (deb-file?): new variable;
(unpack-deb): new variable;
(binary-unpack): new variable;
(%standard-phases): use the new phase.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 23:41:04 +01:00
Jonathan Brielmaier
768f182776
nongnu: helix-core: Update to r23.1.
* nongnu/packages/version-control.scm (helix-core): Update to r23.1.
2023-12-28 17:06:16 +01:00
Jonathan Brielmaier
d9260c9eeb
nongnu: rtl8192eu-linux-module: Update to 0.0.0-6.a928f08.
* nongnu/packages/linux.scm (rtl8192eu-linux-module): Update to 0.0.0-6.a928f08.
2023-12-28 16:40:38 +01:00
Jonathan Brielmaier
6e4db2848a
nongnu: r8168-linux-module: Update to 8.052.01.
Fixes build with newer kernel version.

* nongnu/packages/linux.scm (r8168-linux-module): Update to 8.052.01.
[arguments]: Remove phases to fix build as proper fix is now in upstream.
2023-12-28 16:33:04 +01:00
Giacomo Leidi
76e8ca00db
nongnu: Update google-chrome-unstable to 122.0.6170.3.
* nongnu/packages/chrome.scm google-chrome-unstable: Update to 122.0.6170.3.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 16:16:48 +01:00
Giacomo Leidi
9970630a03
nongnu: Update google-chrome-beta to 121.0.6167.8.
* nongnu/packages/chrome.scm google-chrome-beta: Update to 121.0.6167.8.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 16:16:48 +01:00
Giacomo Leidi
801c09a60c
nongnu: Update google-chrome-stable to 120.0.6099.71.
* nongnu/packages/chrome.scm
(make-google-chrome)[arguments]<wrapper-plan>: Add some bundled
libraries and add nacl_helper only on stable channel;
(google-chrome-stable): update to 120.0.6099.71.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 16:16:42 +01:00
Dariqq
181e3acdf6
nongnu: linux-4.14: Disable gcc plugins.
* nongnu/packages/linux.scm (linux-4.14): Add additonal config options.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-28 14:56:11 +01:00
Jonathan Brielmaier
71a53faf2e
nongnu: firefox-wayland: Make deprecation public.
* nongnu/packages/mozilla.scm (firefox-wayland): Make the deprecation
public.

Follow-up: 75541ecc29
Fixes: https://gitlab.com/nonguix/nonguix/-/merge_requests/386#note_1704258921
Reported-by: Ada Stevenson <adanskana@gmail.com>
2023-12-21 15:01:35 +01:00
Ada Stevenson
f0c8465ed2
nongnu: linux-firmware: Update to 20231211.
* nongnu/packages/linux.scm (linux-firmware): Update to 20231211.
[source]: Remove no longer needed patch.
[arguments]: Replace 'install phase to not call rdfind.
* nongnu/packages/patches/copy-firmware-rdfind.patch: Remove file.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-21 12:52:01 +01:00
Tomas Volf
75541ecc29
nongnu: firefox: Update to 121.0 [security fixes].
Fixes CVE-2023-6135, CVE-2023-6856, CVE-2023-6857, CVE-2023-6858,
CVE-2023-6859, CVE-2023-6860, CVE-2023-6861, CVE-2023-6863,
CVE-2023-6864, CVE-2023-6865, CVE-2023-6866, CVE-2023-6867,
CVE-2023-6868, CVE-2023-6869, CVE-2023-6870, CVE-2023-6871,
CVE-2023-6872, CVE-2023-6873.

Firefox 121.0 uses Wayland now by default when available on Linux:
https://www.mozilla.org/en-US/firefox/121.0/releasenotes/

* nongnu/packages/mozilla.scm (firefox): Update to 121.0.
(firefox/wayland): Remove variable and deprecate the package.

Co-authored-by: Ada Stevenson <adanskana@gmail.com>
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-21 12:37:27 +01:00
Tomas Volf
5d308347ca
nongnu: firefox-esr: Update to 115.6.0esr [security fixes].
Fixes CVE-2023-6856, CVE-2023-6857, CVE-2023-6858, CVE-2023-6859,
CVE-2023-6860, CVE-2023-6861, CVE-2023-6862, CVE-2023-6863,
CVE-2023-6864, CVE-2023-6865, CVE-2023-6867.

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

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2023-12-19 23:27:26 +01:00
Jonathan Brielmaier
25b3a7b6f6
nongnu: hplip-plugin: Update source hash.
Inherited hplip package was updated to 3.23.12 in commit
392de3262ef388ec282d4311a7c2954e86e5aac9 of guix.

* nongnu/packages/printers.scm (hplip-plugin)[native-inputs]: Update sha256
hash for hplip-plugin.
2023-12-13 17:56:18 +01:00
John Kehayias
e721ad7dfd
nongnu: zoom: Update to 5.16.10.668.
* nongnu/packages/messaging.scm (zoom): Update to 5.16.10.668.
2023-12-11 21:10:48 -05:00
John Kehayias
f9327439b8
nongnu: signal-desktop: Update to 6.41.0.
* nongnu/packages/messaging.scm (signal-desktop): Update to 6.41.0
2023-12-11 21:05:24 -05:00
John Kehayias
0dce1e6b6d
nongnu: element-desktop: Update to 1.11.51 [security fixes].
Previous versions include fixes for CVE-2023-5217 and CVE-2023-4863.

* nongnu/packages/messaging.scm (element-desktop): Update to 1.11.51.
2023-12-11 21:01:53 -05:00