* 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>
* 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>
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:modules>: Moved out
from <#:phases>.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* 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>
* 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>
This reverts parts of 668fda08 which where accidentialy commited.
* nongnu/packages/nvidia.scm (nvidia-libs)[arguments]: Replace gcc by
gcc:lib and make gtk+ and gtk2 correct strings again in rpath list.
* nongnu/packages/nvidia.scm (nvidia-driver, nvidia-libs, nvidia-settings):
[version] Use nvidia-version variable instead of hardcoded-string.
(nvidia-version): New variable.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
The 4xx branch and newer dropped i686 support, see:
https://www.nvidia.com/en-us/drivers/unix/
* nongnu/packages/nvidia.scm (nvidia-driver)[supported-systems]: Set to x86_64-linux.
* nongnu/packages/nvidia.scm (nvidia-driver): Update to 470.86.
[arguments]: Change short name of symbolic links.
(nvidia-libs): Dito.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/nvidia.scm (nvidia): update to 465.27.
[inputs]: replace linux-5.4 with linux-lts.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
nvidia-smi is a binary that provides hardware information.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]: Add nvidia-smi to
nvidia-driver.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This version is the newest one still working.
* nongnu/packages/nvidia.scm (nvidia-driver): Downgrade to version 455.38.
[arguments]: Use `version` variable for library path names.
[inputs]: Require linux-5.4 as input.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
* nongnu/packages/nvidia.scm: New file.
(nvidia-driver): New variable.
Co-authored-by: Hebi Li <hebi@lihebi.com>
Co-authored-by: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
Co-authored-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>