guix-commits
[Top][All Lists]
Advanced

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

09/11: gnu: hdparm: Use G-expressions.


From: guix-commits
Subject: 09/11: gnu: hdparm: Use G-expressions.
Date: Wed, 12 Jan 2022 01:29:00 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 70e18f327e541740339c7b32ef80d6ed3d281d52
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Jan 11 23:24:10 2022 +0000

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

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 9c20c09973..724cfafc2d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4695,17 +4695,16 @@ isolation or root privileges.")
                 "14cni5r116k07zqj0565byjhv6gf3ns6hd8jkjl7fn5sxgm5sy3h"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:make-flags
-       (let ((out (assoc-ref %outputs "out")))
-         (list (string-append "binprefix=" out)
-               (string-append "manprefix=" out)
-               ,(string-append "CC=" (cc-for-target))
-               ;; Let Guix strip the binaries and not break cross-compilation.
-               "STRIP=true"))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))           ; no configure script
-       #:tests? #f))                    ; no test suite
+     (list #:make-flags
+           #~(list (string-append "binprefix=" #$output)
+                   (string-append "manprefix=" #$output)
+                   (string-append "CC=" #$(cc-for-target))
+                   ;; Let Guix strip binaries and not break cross-compilation.
+                   "STRIP=true")
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure))     ; no configure script
+           #:tests? #f))                ; no test suite
     (home-page "https://sourceforge.net/projects/hdparm/";)
     (synopsis "View and tune ATA disk drive parameters")
     (description



reply via email to

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