From 6a1f9bf226a32792c579f30dcfc413c0285e7c03 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 22 Nov 2025 18:54:25 +0300 Subject: gnu: argagg: Modernize the package. * gnu/packages/cpp.scm (argagg): Modernize the package. [arguments]: Use GEXPs. Change-Id: I8d9783d38d5ad206dc32bbc7c9669824ab699d61 --- gnu/packages/cpp.scm | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'gnu/packages/cpp.scm') diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index e52b07d1538..917b01369d5 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -154,18 +154,17 @@ (build-system cmake-build-system) (outputs '("out" "doc")) (arguments - `(#:configure-flags (list "-DCMAKE_CXX_FLAGS=-Wno-error=array-bounds=") - #:phases (modify-phases %standard-phases - (add-after 'install 'move-doc - (lambda* (#:key outputs #:allow-other-keys) - (let* ((name ,(package-name argagg)) (out (assoc-ref - outputs - "out")) + (list + #:configure-flags #~(list "-DCMAKE_CXX_FLAGS=-Wno-error=array-bounds=") + #:phases #~(modify-phases %standard-phases + (add-after 'install 'move-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((name #$(package-name argagg)) (doc (assoc-ref outputs "doc"))) - (mkdir-p (string-append doc "/share/doc")) - (rename-file - (string-append out "/share/doc/" name) - (string-append doc "/share/doc/" name)))))))) + (mkdir-p (string-append doc "/share/doc")) + (rename-file + (string-append #$output "/share/doc/" name) + (string-append doc "/share/doc/" name)))))))) (native-inputs (list doxygen)) (home-page "https://github.com/vietjtnguyen/argagg") (synopsis "C++11 command line argument parser") -- cgit v1.3