From a1bf3139a0eefef839542b330e36de824e6541a4 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Fri, 9 Feb 2024 20:02:12 +0000 Subject: [PATCH] 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 --- 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")