* nongnu/packages/linux.scm (make-linux-xanmod): call `default-extra-linux-options` as procedure.
In the guix repo, the 4114060cd0ca2188de525436ea56ecea22ab40a8 turned %default-extra-linux-options into a procedure.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/editors.scm (vscodium): Update to 1.88.1.24104;
[source]: add hashes for aarch64-linux and armhf-linux.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/productivity.scm (anytype): Update to 0.40.0;
[arguments]<wrapper-plan>: adjust to match new binaries.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/nvidia.scm (nvidia-firmware)[synopsis,description]: Update.
[arguments]<#:install-plan>: Use version of ‘this-package’.
[propagated-inputs]: Set to '().
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/nvidia.scm (nvidia-source-hash): New procedure.
(nvidia-source): Use it.
(nvidia-settings)[source]: Likewise.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
Upstream Guix upgraded qtserialport to QT@6, which seems to be
incompatible: 50a72a08af37557575199b56bbee9f334d58575a
* nongnu/packages/cad.scm (lightburn)[inputs]: Replace `qtserialport` with
`qtserialport-5`.
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>
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.
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.
Upstream Guix defaulted to linux-libre-6.8 in commit
40e44bdea6f4c3dc3563427fdf096a60812534a7. Do likewise here.
* nongnu/packages/linux.scm (linux): Use linux-6.8.
* 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>
* 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>
Guix added linux-libre@6.8 in f6f4c71df5558b168fe7a313522af7ea5fe2d0dc but it
is not set as the default yet.
* nongnu/packages/linux.scm (linux-6.8): New variable.
* nongnu/packages/clojure.scm (babashka): New variable.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/clojure.scm (clojure-lsp): New variable.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/nvidia.scm (%nvidia-environment-variable-regexps): New
variable.
* nongnu/packages/game-client.scm (steam-nvidia-container)
(heroic-nvidia-container): Use it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/game-client.scm (steam-nvidia-ld.so.conf)
(steam-nvidia-ld.so.cache): New variables.
(steam-nvidia-container,heroic-nvidia-container): Use them.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/game-client.scm (steam-nvidia-container-libs): New variable.
(steam-nvidia-container,heroic-nvidia-container): Use it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/game-client.scm (steam-container-libs): New variable.
(steam-ld.so.conf,steam-container,heroic-container): Use it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/firmware.scm (ap6256-firmware)[arguments]: Update
install-plan to install to the correct destination.
Sent to me directly via e-mail.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/lisp.scm (sbcl-cl-electron): Update to 0.0.0-3.f2245dc.
[native-inputs]: Remove `sbcl` and commented out `sbcl-lisp-unit2`.
[inputs]: Add `sbcl-cl-ppcre`, `sbcl-lparallel` and `sbcl-spinneret`.
[arguments]: Disable test and use asd-systems. Add phase to fix paths.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/electron.scm (electron): Rename to `electron-27` and
default to it.
(electron-source): New procedure.
(electron-27): Update to 27.3.6.
[source]: Use `electron-source`.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/productivity.scm (anytype): Update to 0.39.0;
[origin]<uri>: update to match the new distribution URI scheme;
[arguments]<wrapper-plan>: include additional binary.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Upstream Guix defaulted to linux-libre@6.7 in commit
001dfb89579856b8695b33b59f484f36e313347f. Do likewise here.
Also, update my copyright header from previous year as well.
* nongnu/packages/linux.scm (linux): Set to linux-6.7.
This fixes an issue where corrupt-linux would use the kernel config from the
wrong version. The reason is that the package phases in customize-linux come
from inheriting the package in the 'linux' keyword argument, defaulting to
linux-libre. The kernel configuration comes in the configure phase. Since we
did not use this in the customize-linux in corrupt-linux, we would be using
the wrong configuration. For example, linux-6.7 would be built with the
linux-libre-6.6 kernel config rather than linux-libre-6.7, missing the new
CONFIG_BCACHEFS_FS option. Presumably all of our kernels were trying to use
the default linux-libre version kernel config rather than the correct one to
match their version. This should fix that.
* nongnu/packages/linux.scm (corrupt-linux): Use the 'linux' keyword argument
in customize-linux.
Reported-by: reedm and yelninei on the #nonguix IRC channel.
Followup to 5d5d496 to do the same for heroic.
* nongnu/packages/game-client.scm (heroic-container)[link-files]: Link all of
'share' from heroic-client.
Previously, only the .desktop files from steam-client were shared with
steam-container, and thus only those were available directly when installing
the steam package. This would miss things like the icons (needed in some
cases for tray support, for example, in waybar). Update to share all of
'share' to provide a more complete package for the user.
* nongnu/packages/game-client.scm (steam-container)[link-files]: Link all of
'share' from steam-client.
* nongnu/packages/editors (vscodium): Update to 1.85.2.24019.
[origin]: Download correct binary for different architectures.
[supported-systems]: List all supported architectures.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
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>
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>
Upstream added linux-libre@6.7 in 95a3aaf7ad37bb0717f2c9e3faf6f636b586d133 but
it is not yet the default.
* nongnu/packages/linux.scm (linux-6.7): New variable.
* 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>
* 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>
* 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>
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>
* 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".