Skip to content

Commit

Permalink
arrow-cpp: fix pkgsStatic
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Nov 3, 2024
1 parent 90610ee commit 61549c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/by-name/ar/arrow-cpp/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
nlohmann_json,
openssl,
perl,
pkg-config,
protobuf,
python3,
rapidjson,
Expand All @@ -49,7 +50,7 @@
zstd,
testers,
enableShared ? !stdenv.hostPlatform.isStatic,
enableFlight ? true,
enableFlight ? stdenv.buildPlatform == stdenv.hostPlatform,
enableJemalloc ? !stdenv.hostPlatform.isDarwin,
enableS3 ? true,
enableGcs ? !stdenv.hostPlatform.isDarwin,
Expand Down Expand Up @@ -126,6 +127,7 @@ stdenv.mkDerivation (finalAttrs: {

nativeBuildInputs = [
cmake
pkg-config
ninja
autoconf # for vendored jemalloc
flatbuffers
Expand Down Expand Up @@ -180,7 +182,7 @@ stdenv.mkDerivation (finalAttrs: {
"-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON"
"-DARROW_BUILD_SHARED=${if enableShared then "ON" else "OFF"}"
"-DARROW_BUILD_STATIC=${if enableShared then "OFF" else "ON"}"
"-DARROW_BUILD_TESTS=ON"
"-DARROW_BUILD_TESTS=${if enableShared then "ON" else "OFF"}"
"-DARROW_BUILD_INTEGRATION=ON"
"-DARROW_BUILD_UTILITIES=ON"
"-DARROW_EXTRA_ERROR_CONTEXT=ON"
Expand Down

0 comments on commit 61549c5

Please sign in to comment.