nongnu: nvidia-settings: Use gexp.
* nognu/packages/nvidia.scm (nvidia-settings): Use gexp. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
056c01b10c
commit
96292fee38
|
@ -2,7 +2,7 @@
|
||||||
;;; Copyright © 2020 Hebi Li <hebi@lihebi.com>
|
;;; Copyright © 2020 Hebi Li <hebi@lihebi.com>
|
||||||
;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
|
;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
|
||||||
;;; Copyright © 2020, 2021 Jean-Baptiste Volatier <jbv@pm.me>
|
;;; Copyright © 2020, 2021 Jean-Baptiste Volatier <jbv@pm.me>
|
||||||
;;; Copyright © 2020, 2021 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
;;; Copyright © 2020-2022 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
||||||
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
|
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
|
||||||
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
|
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
|
||||||
;;;
|
;;;
|
||||||
|
@ -470,15 +470,13 @@ source userspace tools from the corresponding driver release.")
|
||||||
"1lnj5hwmfkzs664fxlhljqy323394s1i7qzlpsjyrpm07sa93bky"))))
|
"1lnj5hwmfkzs664fxlhljqy323394s1i7qzlpsjyrpm07sa93bky"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no test suite
|
(list #:tests? #f ;no test suite
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" %output)
|
#~(list (string-append "PREFIX=" #$output)
|
||||||
(string-append "CC="
|
(string-append "CC=" #$(cc-for-target)))
|
||||||
,(cc-for-target)))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
;; nvidia-settings loads the libraries,libnvidia-gkt{2,3}.so at runtime
|
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user