mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 09:58:09 +01:00
nongnu: nvidia-driver: Install EGL vendor ICD configuration.
* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:install-plan>: Install EGL vendor ICD configuration. <#:phases>: Modify its library path. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
parent
0ae85eb25e
commit
d59c557f79
1 changed files with 6 additions and 0 deletions
|
@ -249,6 +249,7 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
|
|||
"lib/" #:include-regexp ("^./[^/]+\\.so"))
|
||||
("." "share/nvidia/" #:include-regexp ("nvidia-application-profiles"))
|
||||
("." "share/egl/egl_external_platform.d/" #:include-regexp ("(gbm|wayland)\\.json"))
|
||||
("10_nvidia.json" "share/glvnd/egl_vendor.d/")
|
||||
("90-nvidia.rules" "lib/udev/rules.d/")
|
||||
("nvidia-drm-outputclass.conf" "share/X11/xorg.conf.d/")
|
||||
("nvidia-dbus.conf" "share/dbus-1/system.d/")
|
||||
|
@ -266,6 +267,11 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
|
|||
(("libnvidia-egl-(wayland|gbm)\\.so\\.." all)
|
||||
(search-input-file inputs (string-append "lib/" all))))
|
||||
|
||||
;; EGL vendor ICD configuration
|
||||
(substitute* "10_nvidia.json"
|
||||
(("libEGL_nvidia\\.so\\.." all)
|
||||
(string-append #$output "/lib/" all)))
|
||||
|
||||
;; OpenCL vendor ICD configuration
|
||||
(substitute* "nvidia.icd"
|
||||
(("libnvidia-opencl\\.so\\.." all)
|
||||
|
|
Loading…
Reference in a new issue