gnu: apache-arrow: Do not use %build-inputs.

* gnu/packages/databases.scm (apache-arrow)[arguments]: Do not use
%build-inputs, bind inputs instead.
This commit is contained in:
Ricardo Wurmus 2022-11-04 00:00:19 +01:00
parent d0b7ad1ce5
commit d206b29c29
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4186,13 +4186,13 @@ (define-public apache-arrow
(add-before 'configure 'enter-source-directory
(lambda _ (chdir "cpp")))
(add-after 'unpack 'set-env
(lambda _
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "cpp/cmake_modules/ThirdpartyToolchain.cmake"
(("set\\(xsimd_SOURCE.*") ""))
(setenv "BOOST_ROOT" (assoc-ref %build-inputs "boost"))
(setenv "BROTLI_HOME" (assoc-ref %build-inputs "brotli"))
(setenv "FLATBUFFERS_HOME" (assoc-ref %build-inputs "flatbuffers"))
(setenv "RAPIDJSON_HOME" (assoc-ref %build-inputs "rapidjson")))))
(setenv "BOOST_ROOT" (assoc-ref inputs "boost"))
(setenv "BROTLI_HOME" (assoc-ref inputs "brotli"))
(setenv "FLATBUFFERS_HOME" (assoc-ref inputs "flatbuffers"))
(setenv "RAPIDJSON_HOME" (assoc-ref inputs "rapidjson")))))
#:build-type "Release"
#:configure-flags
(list "-DARROW_PYTHON=ON"