mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-24 19:27:44 +01:00
gnu: mcelog: Use G-expressions.
* gnu/packages/linux.scm (mcelog)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
3aebdc8f37
commit
ca94157380
1 changed files with 12 additions and 10 deletions
|
@ -6683,16 +6683,18 @@ (define-public mcelog
|
||||||
(("\"unknown\"") (string-append "\"v" ,version "\"")))))))
|
(("\"unknown\"") (string-append "\"v" ,version "\"")))))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
(list
|
||||||
(delete 'configure)) ; no configure script
|
;; The tests will only run as root on certain supported CPU models.
|
||||||
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
#:tests? #f
|
||||||
(list (string-append "CC=" ,(cc-for-target))
|
#:make-flags
|
||||||
(string-append "prefix=" out)
|
#~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "DOCDIR=" out "/share/doc/"
|
(string-append "prefix=" #$output)
|
||||||
,name "-" ,version)
|
(string-append "DOCDIR=" #$output "/share/doc/"
|
||||||
"etcprefix=$(DOCDIR)/examples"))
|
#$name "-" #$version)
|
||||||
;; The tests will only run as root on certain supported CPU models.
|
"etcprefix=$(DOCDIR)/examples")
|
||||||
#:tests? #f))
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(delete 'configure)))) ; no configure script
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-wrapper)) ; to generate example mcelog.conf
|
(list python-wrapper)) ; to generate example mcelog.conf
|
||||||
(supported-systems (list "i686-linux" "x86_64-linux"))
|
(supported-systems (list "i686-linux" "x86_64-linux"))
|
||||||
|
|
Loading…
Reference in a new issue