diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-08-14 02:00:01 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-09-04 02:00:01 +0200 |
commit | ca94157380b4ceb92f940f1d95c44e79b4521874 (patch) | |
tree | 6ab7bd229106dae2a05c6c0f9b8f8babebd531e3 | |
parent | 3aebdc8f372aeb7ee93bf84a9d62eacae487a3f3 (diff) | |
download | guix-ca94157380b4ceb92f940f1d95c44e79b4521874.tar.gz guix-ca94157380b4ceb92f940f1d95c44e79b4521874.zip |
gnu: mcelog: Use G-expressions.
* gnu/packages/linux.scm (mcelog)[arguments]:
Rewrite as G-expressions.
-rw-r--r-- | gnu/packages/linux.scm | 22 |
1 files changed, 12 insertions, 10 deletions
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")) |