gnu: cpuid: Use G-expressions.

* gnu/packages/linux.scm (cpuid)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice
2022-07-17 02:00:01 +02:00
parent ce2635852f
commit 85e859baa6

View File

@@ -7817,10 +7817,11 @@ available in the kernel Linux.")
"06nb69vlv1szdzq1dp784pgbr9z2py050v1hlrn4rr56jp0a2nci")))) "06nb69vlv1szdzq1dp784pgbr9z2py050v1hlrn4rr56jp0a2nci"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (list #:make-flags
(list (string-append "CC=" ,(cc-for-target))) #~(list (string-append "CC=" #$(cc-for-target)))
#:tests? #f ; no tests #:tests? #f ; no tests
#:phases (modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(delete 'configure) ; no configure script (delete 'configure) ; no configure script
(add-before 'install 'fix-makefile (add-before 'install 'fix-makefile
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)