mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 09:58:09 +01:00
nongnu: Add libglvnd-for-nvda.
* nongnu/packages/nvidia.scm (libglvnd-for-nvda): New variable. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
parent
357888aa25
commit
8c1a56e16e
1 changed files with 12 additions and 0 deletions
|
@ -602,6 +602,18 @@ configuration, creating application profiles, gpu monitoring and more.")
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
|
|
||||||
|
(define-public libglvnd-for-nvda
|
||||||
|
(hidden-package
|
||||||
|
(package
|
||||||
|
(inherit libglvnd)
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments libglvnd)
|
||||||
|
((#:configure-flags flags #~'())
|
||||||
|
#~(cons* "-Dc_link_args=-Wl,-rpath=$ORIGIN" #$flags))
|
||||||
|
((#:phases phases #~%standard-phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(delete 'shrink-runpath))))))))
|
||||||
|
|
||||||
;; nvda is used as a name because it has the same length as mesa which is
|
;; nvda is used as a name because it has the same length as mesa which is
|
||||||
;; required for grafting
|
;; required for grafting
|
||||||
(define-public nvda
|
(define-public nvda
|
||||||
|
|
Loading…
Reference in a new issue