Commit graph

27 commits

Author SHA1 Message Date
Hilton Chain
43a742bc1a
nongnu: nvidia-module: Rename to nvidia-module-open.
* nongnu/packages/nvidia.scm (nvidia-module): Rename to nvidia-module-open.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:42:31 +01:00
Hilton Chain
402f53c096
nongnu: Add procedure (make-nvidia-source).
* 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>
2022-12-18 13:39:47 +01:00
Hilton Chain
115b9ed40b
nongnu: nvidia-driver: Move (use-modules) out of #:phases.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:modules>: Moved out
from <#:phases>.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:38:37 +01:00
Hilton Chain
df03530aed
nongnu: nvidia-driver: Rewrite logic for creating short name symbolic links.
* 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>
2022-12-18 13:29:24 +01:00
Hilton Chain
fe9813a3ee
nongnu: nvidia-driver: Simplify udev rules creation.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:phases>: Simplify udev rules creation.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:25:37 +01:00
Hilton Chain
9f4e8e82f1
nongnu: nvidia-driver: Don't hardcode inputs.
* 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>
2022-12-18 13:24:17 +01:00
Hilton Chain
1544351697
nongnu: nvidia-driver: Fix indentation.
* nongnu/packages/nvidia.scm (nvidia-driver): Fix indentation.
[inputs,native-inputs]: Sort alphabetically.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-12-18 13:22:24 +01:00
John Kehayias
cbc4c651ad
nongnu: nvidia-module: Update to 515.76.
This fixes the build with linux@6.0.

* nongnu/packages/nvidia.scm (nvidia-module, nversion): Update to 515.76.
2022-11-04 18:56:35 -04:00
Alexey Abramov
2a368a20cc
nongnu: Add nvidia-nvml.
* nongnu/packages/nvidia.scm (nvidia-nvml): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-10-20 17:44:07 +02:00
Petr Hodina
d738f3c7fd
nongnu: Add nvidia-exec.
* nongnu/packages/nvidia.scm (nvidia-exec): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-09-10 20:28:36 +02:00
Petr Hodina
c87afddd63
nongnu: nversion: update to 515.57.
* nongnu/packages/nvidia.scm (nversion): Update to 515.57.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-08-14 11:24:53 +02:00
Jonathan Brielmaier
2fd265817f
nongnu: nvidia-libs: Use correct input names.
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.
2022-06-26 12:52:51 +02:00
Petr Hodina
668fda0855
nongnu: nvidia-driver: Simplify inputs.
* nongnu/packages/nvidia.scm (nvidia-driver): Simplify inputs.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:36:23 +02:00
Petr Hodina
387d13492f
nongnu: nvidia-driver: Use gexp.
* nongnu/packages/nvidia.scm (nvidia-driver): Use gexp.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:33:43 +02:00
Petr Hodina
32c687865d
nongnu: nvda: Use gexp.
* nongnu/packages/nvidia.scm (nvda): Use gexp.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:15:00 +02:00
Petr Hodina
96292fee38
nongnu: nvidia-settings: Use gexp.
* nognu/packages/nvidia.scm (nvidia-settings): Use gexp.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 12:03:52 +02:00
Petr Hodina
056c01b10c
nongnu: Add nvidia-module.
* nongnu/packages/nvidia.scm (nvidia-module, nversion): New variables.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-06-26 11:59:42 +02:00
Petr Hodina
c664de6a55
nongnu: Use nvidia-version to define version for multiple packages.
* 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>
2022-03-22 18:42:34 +01:00
Petr Hodina
edc96d3477
nongnu: Add nvidia-settings.
* nongnu/packages/nvidia.scm (nvidia-settings): New variable.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-03-22 18:42:08 +01:00
Jonathan Brielmaier
76ed1a0a9e
nongnu: nvidia-driver: Supports only x86_64-linux.
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.
2022-02-10 22:05:43 +01:00
irfus
604184d9ad
nongnu: nvidia: Update to 470.86.
* 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>
2022-02-08 16:23:23 +01:00
Jean-Baptiste Volatier
22cb4bb981
nongnu: nvidia: update to 465.27.
* 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>
2021-05-19 21:59:56 +02:00
Pierre Langlois
c82a492fe1
nongnu: nvidia-libs: Fix non-x86 builds.
* nongnu/packages/nvidia.scm (nvidia-libs)[arguments]: Add catch-all for match
install-plan, to fix guix pull.
[supported-systems]: Declare.
2021-04-18 00:20:00 +02:00
Jean-Baptiste Volatier
34a5130517
nongnu: nvidia: Add nvidia-smi to nvidia-driver.
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>
2021-04-14 18:32:13 +02:00
Jean-Baptiste Volatier
29498efd16
nongnu: nvidia: Add nvidia-libs, nvda and mesa libs.
* nongnu/packages/nvidia.scm (nvidia-libs, nvda, mesa/fake,
* replace-mesa): New variables.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-04-14 18:31:44 +02:00
Jean-Baptiste Volatier
52028f63ed
nongnu: nvidia: Downgrade nvidia-driver to 455.38.
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>
2021-04-14 18:20:50 +02:00
Jean-Baptiste Volatier
11c1d90c61
nongnu: Add nvidia-driver.
* 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>
2020-12-22 14:01:09 +01:00