guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 04/218: gnu: apache-arrow: Do not use %build-inputs.
Date: Fri, 4 Nov 2022 05:14:24 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit d206b29c29a27731a4bad68614ca0c79bd66b33c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Nov 4 00:00:19 2022 +0100

    gnu: apache-arrow: Do not use %build-inputs.
    
    * gnu/packages/databases.scm (apache-arrow)[arguments]: Do not use
    %build-inputs, bind inputs instead.
---
 gnu/packages/databases.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index afb6b71ef0..e707c399e7 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4186,13 +4186,13 @@ the SQL language using a syntax that reflects the 
resulting query.")
          (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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]