* 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>
* 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>
* 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>
This is needed to fix `guix pull' on non-x86 platforms.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]: Add catch-all for
match install-plan.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* 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>
* nongnu/packages/nvidia.scm (nvda): Use nvidia-driver as base.
[inputs]: Adjusted accordingly.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* 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>
* 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>
* 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>
This is the proprietary Nvidia kernel module.
* nongnu/packages/nvidia.scm (nvidia-module): New variable.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>