mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-21 16:08:07 +01:00
nongnu: nvda: Use nvidia-driver as base.
* nongnu/packages/nvidia.scm (nvda): Use nvidia-driver as base. [inputs]: Adjusted accordingly. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
fb5a3d0e97
commit
4ce327023f
1 changed files with 4 additions and 4 deletions
|
@ -624,7 +624,7 @@ configuration, creating application profiles, gpu monitoring and more.")
|
|||
;; required for grafting
|
||||
(define-public nvda
|
||||
(package
|
||||
(inherit nvidia-libs)
|
||||
(inherit nvidia-driver)
|
||||
(name "nvda")
|
||||
(source #f)
|
||||
(build-system trivial-build-system)
|
||||
|
@ -637,10 +637,10 @@ configuration, creating application profiles, gpu monitoring and more.")
|
|||
(ice-9 regex))
|
||||
(union-build #$output
|
||||
(list #$(this-package-input "mesa")
|
||||
#$(this-package-input "nvidia-libs"))
|
||||
#$(this-package-input "nvidia-driver"))
|
||||
#:resolve-collision
|
||||
(lambda (files)
|
||||
(let ((file (if (string-match "nvidia-libs"
|
||||
(let ((file (if (string-match "nvidia-driver"
|
||||
(first files))
|
||||
(first files)
|
||||
(last files))))
|
||||
|
@ -650,7 +650,7 @@ configuration, creating application profiles, gpu monitoring and more.")
|
|||
"These are the libraries of the evil NVIDIA driver, packaged in such a
|
||||
way that you can use the transformation option @code{--with-graft=mesa=nvda}
|
||||
to use the NVIDIA driver with a package that requires mesa.")
|
||||
(inputs (list mesa nvidia-libs))
|
||||
(inputs (list mesa nvidia-driver))
|
||||
(outputs '("out"))))
|
||||
|
||||
(define mesa/fake
|
||||
|
|
Loading…
Reference in a new issue