guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: reproc: Improve package style.


From: guix-commits
Subject: 05/09: gnu: reproc: Improve package style.
Date: Fri, 1 Mar 2024 01:19:18 -0500 (EST)

hako pushed a commit to branch master
in repository guix.

commit a1bf3139a0eefef839542b330e36de824e6541a4
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Fri Feb 9 20:02:12 2024 +0000

    gnu: reproc: Improve package style.
    
    * gnu/packages/cpp.scm (reproc)[arguments]: Use G-expressions.
    <#:configure-flags>: Remove unnecessary comment.
    Enable CMake variable with ON rather than 1.
    
    Change-Id: Ic5e6747e7978a40d1aab66b4c3634342736c0bcf
    Signed-off-by: Hilton Chain <hako@ultrarare.space>
---
 gnu/packages/cpp.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 9c49ea8d33..de1f54d194 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1065,11 +1065,9 @@ and make @code{cpplint} usable in wider contexts.")
           (base32 "09xnf8hmld1fk8j33zwlz1qcxnjdx1ncbg62csic9va4m1wc2v1d"))))
    (build-system cmake-build-system)
    (arguments
-      ;; No tests.
-    `(#:tests? #f
-      ;; Build the shared library instead of a static one.
-      #:configure-flags `("-DBUILD_SHARED_LIBS=1"
-                          "-DREPROC++=ON")))
+    (list #:tests? #f     ; No tests.
+          #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
+                                    "-DREPROC++=ON")))
    (native-inputs
     (list pkg-config))
    (synopsis "Process IO library")



reply via email to

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