From 8860e9db560c5d9e74277b608071fbb93579db4f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 5 Jan 2022 03:38:46 +0100 Subject: gnu: lucene++: Use G-expressions. * gnu/packages/rdf.scm (lucene++)[arguments]: Rewrite as G-expressions. --- gnu/packages/rdf.scm | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index 2278223c28..9b8b37a9ab 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -146,19 +146,19 @@ Java Lucene text search engine API to C++.") "share/cmake/lucene++")))))) (build-system cmake-build-system) (arguments - `(#:configure-flags - (list (string-append "-DLIB_DESTINATION:PATH=" - (assoc-ref %outputs "out") "/lib") - "-DINSTALL_GTEST:BOOL=OFF") - #:phases - (modify-phases %standard-phases - (replace 'check - ;; XXX Tests are built unconditionally during the 'build phase. - ;; There's no ‘test’ target. README.md suggests running this. - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "src/test/lucene++-tester" - "--test_dir=../source/src/test/testfiles"))))))) + (list #:configure-flags + #~(list (string-append "-DLIB_DESTINATION:PATH=" + #$output "/lib") + "-DINSTALL_GTEST:BOOL=OFF") + #:phases + #~(modify-phases %standard-phases + (replace 'check + ;; XXX Tests are built unconditionally during the 'build phase. + ;; There's no ‘test’ target. README.md suggests running this. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "src/test/lucene++-tester" + "--test_dir=../source/src/test/testfiles"))))))) (native-inputs (list pkg-config)) (inputs -- cgit v1.2.3