me
/
guix
Archived
1
0
Fork 0

gnu: rtl8821ce-linux-module: Use G-expressions.

* gnu/packages/linux.scm (rtl8821ce-linux-module)[arguments]:
Rewrite as G-expressions.
master
Tobias Geerinckx-Rice 2021-12-26 07:52:04 +01:00
parent 39782d3e24
commit dfb93951e3
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 17 additions and 16 deletions

View File

@ -1361,22 +1361,23 @@ and the notification, WiFi, and Bluetooth LED.")
"18ma8a8h1l90dss0k6al7q6plwr57jc9g67p22g9917k1jfbhm97")))) "18ma8a8h1l90dss0k6al7q6plwr57jc9g67p22g9917k1jfbhm97"))))
(build-system linux-module-build-system) (build-system linux-module-build-system)
(arguments (arguments
`(#:make-flags (list #:make-flags
(list (string-append "CC=" ,(cc-for-target)) #~(list (string-append "CC=" #$(cc-for-target))
(string-append "KSRC=" (string-append "KSRC="
(assoc-ref %build-inputs "linux-module-builder") (assoc-ref %build-inputs
"/lib/modules/build")) "linux-module-builder")
#:phases "/lib/modules/build"))
(modify-phases %standard-phases #:phases
(replace 'build #~(modify-phases %standard-phases
(lambda* (#:key (make-flags '()) (parallel-build? #t) (replace 'build
#:allow-other-keys) (lambda* (#:key (make-flags '()) (parallel-build? #t)
(apply invoke "make" #:allow-other-keys)
`(,@(if parallel-build? (apply invoke "make"
`("-j" ,(number->string (parallel-job-count))) `(,@(if parallel-build?
'()) `("-j" ,(number->string (parallel-job-count)))
,@make-flags))))) '())
#:tests? #f)) ; no test suite ,@make-flags)))))
#:tests? #f)) ; no test suite
(home-page "https://github.com/tomaspinho/rtl8821ce") (home-page "https://github.com/tomaspinho/rtl8821ce")
(synopsis "Linux driver for Realtek RTL8821CE wireless network adapters") (synopsis "Linux driver for Realtek RTL8821CE wireless network adapters")
(description "This is Realtek's RTL8821CE Linux driver for wireless (description "This is Realtek's RTL8821CE Linux driver for wireless