diff options
author | Hilton Chain <hako@ultrarare.space> | 2024-01-31 18:57:42 +0800 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2024-04-24 20:06:40 -0400 |
commit | 8c1a56e16ea4d728aed3c4399102ae0aa14e5032 (patch) | |
tree | 1255477a40ec104833cf60346859820b392a841d /nongnu | |
parent | 357888aa25309648996adb733680c1591e0c292f (diff) |
nongnu: Add libglvnd-for-nvda.
* nongnu/packages/nvidia.scm (libglvnd-for-nvda): New variable.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Diffstat (limited to 'nongnu')
-rw-r--r-- | nongnu/packages/nvidia.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index 6b2b20e..beb9158 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -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 ;; required for grafting (define-public nvda |