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,16 +6618,16 @@ (define-public turbostat
|
|||
(source (package-source linux-libre))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no test suite
|
||||
(list
|
||||
#:tests? #f ;no test suite
|
||||
#:make-flags
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#~(list (string-append "CC=" #$(cc-for-target))
|
||||
(string-append "PREFIX=" #$output))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'enter-subdirectory
|
||||
(lambda _
|
||||
(chdir "tools/power/x86/turbostat")
|
||||
#t))
|
||||
(chdir "tools/power/x86/turbostat")))
|
||||
(delete 'configure)))) ;no configure script
|
||||
(inputs
|
||||
(list libcap))
|
||||
|
|
Loading…
Reference in a new issue