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))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no test suite
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'enter-subdirectory
(lambda _
(chdir "tools/power/x86/turbostat")
#t))
(delete 'configure)))) ; no configure script
(list
#:tests? #f ;no test suite
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'enter-subdirectory
(lambda _
(chdir "tools/power/x86/turbostat")))
(delete 'configure)))) ;no configure script
(inputs
(list libcap))
(supported-systems '("i686-linux" "x86_64-linux"))