gnu: turbostat: Use G-expressions.
* gnu/packages/linux.scm (turbostat)[arguments]: Rewrite as G-expressions. Change-Id: I5e2cf484692cda608d0144f4b35c63770301aadd
This commit is contained in:
parent
109a2485d7
commit
e87845ee2d
1 changed files with 11 additions and 11 deletions
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue