nongnu: nvidia-driver: Move (use-modules) out of #:phases.

* nongnu/packages/nvidia.scm (nvidia-driver)[arguments]<#:modules>: Moved out
from <#:phases>.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Hilton Chain 2022-11-20 22:59:19 +08:00 committed by Jonathan Brielmaier
parent df03530aed
commit 115b9ed40b
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -84,6 +84,13 @@
(arguments
(list #:linux linux-lts
#:tests? #f
#:modules '((guix build linux-module-build-system)
(guix build utils)
(ice-9 ftw)
(ice-9 popen)
(ice-9 rdelim)
(ice-9 regex)
(ice-9 textual-ports))
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
@ -106,11 +113,6 @@
(add-after 'install 'install-copy
(lambda* (#:key inputs native-inputs outputs #:allow-other-keys)
(chdir "..")
(use-modules (ice-9 ftw)
(ice-9 popen)
(ice-9 rdelim)
(ice-9 regex)
(ice-9 textual-ports))
(let* ((libdir (string-append #$output "/lib"))
(bindir (string-append #$output "/bin"))
(etcdir (string-append #$output "/etc")))