* 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>