diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-11-22 18:54:25 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-11-22 18:58:57 +0300 |
| commit | 6a1f9bf226a32792c579f30dcfc413c0285e7c03 (patch) | |
| tree | f22faab78be6fef21d4093d3cbe0dd82fa0f1db6 /gnu/packages/cpp.scm | |
| parent | 092c799a4a46ed07c418ab104c101727362ec044 (diff) | |
gnu: argagg: Modernize the package.
* gnu/packages/cpp.scm (argagg): Modernize the package.
[arguments]: Use GEXPs.
Change-Id: I8d9783d38d5ad206dc32bbc7c9669824ab699d61
Diffstat (limited to 'gnu/packages/cpp.scm')
| -rw-r--r-- | gnu/packages/cpp.scm | 21 |
1 files changed, 10 insertions, 11 deletions
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") |
