From b0800210c8448736f8baee11aba6827dd145b879 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 8 Nov 2025 00:03:00 +0300 Subject: [PATCH] gnu: rttr: Modernize the package. * gnu/packages/cpp.scm (rttr): Modernize the package. [arguments]: Use GEXPs. Change-Id: I23022d0ae7deced76abc02121b242db2fe615a69 --- gnu/packages/cpp.scm | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 11aaa125c51..acbf466cadb 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -625,22 +625,20 @@ Scalable Vector Graphics (SVG) files.") (file-name (git-file-name name version)))) (build-system cmake-build-system) (arguments - '(;; No check target. Setting test-target to "unit_test" runs it twice. - #:tests? #f - #:configure-flags - '("-DBUILD_DOCUMENTATION=OFF" "-DBUILD_EXAMPLES=OFF" - "-DBUILD_UNIT_TESTS=OFF") + (list + ;; No check target. Setting test-target to "unit_test" runs it twice. + #:tests? #f + #:configure-flags + #~(list "-DBUILD_DOCUMENTATION=OFF" + "-DBUILD_EXAMPLES=OFF" + "-DBUILD_UNIT_TESTS=OFF") #:phases - (modify-phases %standard-phases + #~(modify-phases %standard-phases ;; library_test fails in chroot. (add-after 'unpack 'skip-library-test (lambda _ (substitute* "src/unit_tests/unit_tests.cmake" - (("misc/library_test.cpp") "")) - #t)) - (add-before 'configure 'relax-gcc-14-strictness - (lambda _ - (setenv "CXXFLAGS" "-Wno-error=pessimizing-move")))))) + (("misc/library_test.cpp") ""))))))) (native-inputs (list pkg-config)) (home-page "https://github.com/rttrorg/rttr/") (synopsis "C++ Reflection Library")