guix-commits
[Top][All Lists]
Advanced

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

07/34: gnu: whois: Use G-expressions.


From: guix-commits
Subject: 07/34: gnu: whois: Use G-expressions.
Date: Tue, 18 Jul 2023 21:11:56 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 7595a07da5583bb33e7fb1290620d045929110c4
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 16 02:00:01 2023 +0200

    gnu: whois: Use G-expressions.
    
    * gnu/packages/networking.scm (whois)[arguments]:
    Rewrite as G-expressions.
---
 gnu/packages/networking.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 752d706797..93eb8cae85 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1722,18 +1722,19 @@ and up to 1 Mbit/s downstream.")
         (base32 "1mqgc8saz4l0hr4p8r9cgndwx3r9aal7ak9irgrrkxyjd65xpa9n"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ; no test suite
-       #:make-flags
-       (list (string-append "CC=" ,(cc-for-target))
-             (string-append "PKG_CONFIG=" ,(pkg-config-for-target))
-             (string-append "prefix=" (assoc-ref %outputs "out"))
-             "BASHCOMPDIR=$(prefix)/share/bash-completion/completions")
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)            ; no configure script
-         (add-before 'build 'setenv
-           (lambda _
-             (setenv "HAVE_ICONV" "1"))))))
+     (list
+      #:tests? #f                       ; no test suite
+      #:make-flags
+      #~(list (string-append "CC=" #$(cc-for-target))
+              (string-append "PKG_CONFIG=" #$(pkg-config-for-target))
+              (string-append "prefix=" #$output)
+              "BASHCOMPDIR=$(prefix)/share/bash-completion/completions")
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure)           ; no configure script
+          (add-before 'build 'setenv
+            (lambda _
+              (setenv "HAVE_ICONV" "1"))))))
     (inputs
      (list libidn2))
     (native-inputs



reply via email to

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