diff options
author | Paul A. Patience <paul@apatience.com> | 2024-02-09 20:02:12 +0000 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-03-01 14:09:53 +0800 |
commit | a1bf3139a0eefef839542b330e36de824e6541a4 (patch) | |
tree | 82da55aeac86ca33127bc99138a71885c5855be7 | |
parent | b18c003c6908b6d7bc6d63ee4451b5b5cdb6f17c (diff) | |
download | guix-a1bf3139a0eefef839542b330e36de824e6541a4.tar.gz |
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>
-rw-r--r-- | gnu/packages/cpp.scm | 8 |
1 files 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") |