guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/19: gnu: cpuid: Use G-expressions.


From: guix-commits
Subject: 07/19: gnu: cpuid: Use G-expressions.
Date: Wed, 20 Jul 2022 06:42:29 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 85e859baa6cc73654c72fd5cc8ec8b488f0298cb
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 17 02:00:01 2022 +0200

    gnu: cpuid: Use G-expressions.
    
    * gnu/packages/linux.scm (cpuid)[arguments]:
    Rewrite as G-expressions.
---
 gnu/packages/linux.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 01c990079a..acb746d860 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7817,16 +7817,17 @@ available in the kernel Linux.")
                 "06nb69vlv1szdzq1dp784pgbr9z2py050v1hlrn4rr56jp0a2nci"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:make-flags
-       (list (string-append "CC=" ,(cc-for-target)))
-       #:tests? #f                      ; no tests
-       #:phases (modify-phases %standard-phases
-                  (delete 'configure)   ; no configure script
-                  (add-before 'install 'fix-makefile
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (substitute* "Makefile"
-                        (("\\$\\(BUILDROOT\\)/usr")
-                         (assoc-ref outputs "out"))))))))
+     (list #:make-flags
+           #~(list (string-append "CC=" #$(cc-for-target)))
+           #:tests? #f                  ; no tests
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)      ; no configure script
+               (add-before 'install 'fix-makefile
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (substitute* "Makefile"
+                     (("\\$\\(BUILDROOT\\)/usr")
+                      (assoc-ref outputs "out"))))))))
     (inputs (list perl))
     (supported-systems '("i686-linux" "x86_64-linux"))
     (home-page "http://www.etallen.com/cpuid.html";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]