diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-05-23 05:54:22 +0200 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2025-05-26 09:23:55 +0100 |
commit | c15f786f8936502249b639220997094fdbf7f1e8 (patch) | |
tree | 7c6da8b94c55dee0ce7a66c13e7e2983763d06e4 | |
parent | 694d2a7c508251c1e2d52b818e5f79f80a1d5e43 (diff) |
gnu: python-xapian-bindings: Fix build.
* gnu/packages/search.scm (python-xapian-bindings)[arguments]: Improve
style (move to gexps).
[arguments]<make-flags>: Set PYTHON3_SO flag.
Change-Id: I09519e68ef99e2afe7dba278b9302562998ad2a3
Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r-- | gnu/packages/search.scm | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index f66185d692..e9184d1e16 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -160,13 +160,16 @@ a CGI web search frontend.") "0gc8l9cn8jdma0p73jl14z17yizp6dax5zsycvgprajii6j8bhwi")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--with-python3") - #:make-flags - (list (string-append "pkgpylibdir=" - (assoc-ref %outputs "out") - "/lib/python" ,(version-major+minor - (package-version python)) - "/site-packages/xapian")))) + (list #:configure-flags #~(list "--with-python3") + #:make-flags + #~(list (string-append "pkgpylibdir=" + #$output + "/lib/python" #$(version-major+minor + (package-version python)) + "/site-packages/xapian") + ;; XXX: Otherwise set to "None", which produces _xapianNone + ;; and ends up unable to find it. + "PYTHON3_SO=.so"))) (native-inputs (list python-sphinx)) ;for documentation (inputs |