summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-06-07 20:16:07 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-06-08 10:37:08 +0200
commitb9eb74d6559deaa83b8bf32d778fe623f76f78f1 (patch)
tree3478b9ec4507f818a05f60ad1e0af6213670e87a /gnu
parente8f9fb3e03ea8fee0e13f13706a6b16414f74a7b (diff)
downloadguix-b9eb74d6559deaa83b8bf32d778fe623f76f78f1.tar.gz
gnu: python-pyarrow: Include dataset support.
* gnu/packages/databases.scm (python-pyarrow)[arguments]: Remove obsolete
build phase 'make-git-checkout-writable; rename phase
'set-PYARROW_WITH_PARQUET to 'set-pyarrow-build-options and also enable
building of dataset extension.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 43f5f9c072..74483d27f7 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -4677,13 +4677,11 @@ algorithm implementations.")
          (delete 'build) ; XXX the build is performed again during the install phase
          (add-after 'unpack 'enter-source-directory
            (lambda _ (chdir "python")))
-         (add-after 'unpack 'make-git-checkout-writable
-           (lambda _
-             (for-each make-file-writable (find-files "."))))
-         (add-before 'install 'set-PYARROW_WITH_PARQUET
+         (add-before 'install 'set-pyarrow-build-options
            (lambda _
              (setenv "PYARROW_BUNDLE_ARROW_CPP_HEADERS" "0")
-             (setenv "PYARROW_WITH_PARQUET" "1"))))))
+             (setenv "PYARROW_WITH_PARQUET" "1")
+             (setenv "PYARROW_WITH_DATASET" "1"))))))
     (propagated-inputs
      (list (list apache-arrow "lib")
            (list apache-arrow "include")