From ca94157380b4ceb92f940f1d95c44e79b4521874 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 14 Aug 2022 02:00:01 +0200 Subject: gnu: mcelog: Use G-expressions. * gnu/packages/linux.scm (mcelog)[arguments]: Rewrite as G-expressions. --- gnu/packages/linux.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4bdfd0f5b2..2e017cd307 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -6683,16 +6683,18 @@ the @code{mce-inject} module loaded if it exists.") (("\"unknown\"") (string-append "\"v" ,version "\""))))))) (build-system gnu-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (delete 'configure)) ; no configure script - #:make-flags (let ((out (assoc-ref %outputs "out"))) - (list (string-append "CC=" ,(cc-for-target)) - (string-append "prefix=" out) - (string-append "DOCDIR=" out "/share/doc/" - ,name "-" ,version) - "etcprefix=$(DOCDIR)/examples")) - ;; The tests will only run as root on certain supported CPU models. - #:tests? #f)) + (list + ;; The tests will only run as root on certain supported CPU models. + #:tests? #f + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "prefix=" #$output) + (string-append "DOCDIR=" #$output "/share/doc/" + #$name "-" #$version) + "etcprefix=$(DOCDIR)/examples") + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) ; no configure script (native-inputs (list python-wrapper)) ; to generate example mcelog.conf (supported-systems (list "i686-linux" "x86_64-linux")) -- cgit 1.4.1