mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-31 19:21:41 +01:00
nongnu: nvda: Adjust package style.
* nongnu/packages/nvidia.scm (nvda)[arguments]<#:builder>: Adjust style. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
parent
74fa6e1916
commit
357888aa25
1 changed files with 12 additions and 11 deletions
|
@ -621,17 +621,18 @@ configuration, creating application profiles, gpu monitoring and more.")
|
|||
(use-modules (guix build union)
|
||||
(srfi srfi-1)
|
||||
(ice-9 regex))
|
||||
(union-build #$output
|
||||
(list #$(this-package-input "mesa")
|
||||
#$(this-package-input "nvidia-driver"))
|
||||
#:resolve-collision
|
||||
(lambda (files)
|
||||
(let ((file (if (string-match "nvidia-driver"
|
||||
(first files))
|
||||
(first files)
|
||||
(last files))))
|
||||
(format #t "chosen ~a ~%" file)
|
||||
file))))))
|
||||
(union-build
|
||||
#$output
|
||||
'#$(list (this-package-input "mesa")
|
||||
(this-package-input "nvidia-driver"))
|
||||
#:resolve-collision
|
||||
(lambda (files)
|
||||
(let ((file (if (string-match "nvidia-driver"
|
||||
(first files))
|
||||
(first files)
|
||||
(last files))))
|
||||
(format #t "chosen ~a ~%" file)
|
||||
file))))))
|
||||
(native-search-paths
|
||||
(list
|
||||
;; https://github.com/NVIDIA/egl-wayland/issues/39
|
||||
|
|
Loading…
Reference in a new issue