gnu: turbostat: Use G-expressions.

* gnu/packages/linux.scm (turbostat)[arguments]:
Rewrite as G-expressions.

Change-Id: I5e2cf484692cda608d0144f4b35c63770301aadd
This commit is contained in:
Tobias Geerinckx-Rice 2023-11-19 01:00:00 +01:00
parent 109a2485d7
commit e87845ee2d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -6618,17 +6618,17 @@ (define-public turbostat
(source (package-source linux-libre)) (source (package-source linux-libre))
(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 "CC=" ,(cc-for-target)) #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out"))) (string-append "PREFIX=" #$output))
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'enter-subdirectory (add-after 'unpack 'enter-subdirectory
(lambda _ (lambda _
(chdir "tools/power/x86/turbostat") (chdir "tools/power/x86/turbostat")))
#t)) (delete 'configure)))) ;no configure script
(delete 'configure)))) ; no configure script
(inputs (inputs
(list libcap)) (list libcap))
(supported-systems '("i686-linux" "x86_64-linux")) (supported-systems '("i686-linux" "x86_64-linux"))