arrow-cpp: libnsl is not necessary for building (#162757)
libnsl dependency was preventing building arrow-cpp on darwin. arrow-cpp builds on darwin without issues outside of nix. The official instructions at https://arrow.apache.org/docs/developers/cpp/building.html do not mention libnsl as a dependency. Thus, this change removes libnsl from both darwin and linux platforms.
This commit is contained in:
parent
ccb1851610
commit
da882cddcc
|
@ -19,7 +19,6 @@
|
||||||
, grpc
|
, grpc
|
||||||
, gtest
|
, gtest
|
||||||
, jemalloc
|
, jemalloc
|
||||||
, libnsl
|
|
||||||
, lz4
|
, lz4
|
||||||
, minio
|
, minio
|
||||||
, ninja
|
, ninja
|
||||||
|
@ -39,7 +38,7 @@
|
||||||
, zlib
|
, zlib
|
||||||
, zstd
|
, zstd
|
||||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||||
, enableFlight ? !stdenv.isDarwin # libnsl is not supported on darwin
|
, enableFlight ? true
|
||||||
, enableJemalloc ? !(stdenv.isAarch64 && stdenv.isDarwin)
|
, enableJemalloc ? !(stdenv.isAarch64 && stdenv.isDarwin)
|
||||||
# boost/process is broken in 1.69 on darwin, but fixed in 1.70 and
|
# boost/process is broken in 1.69 on darwin, but fixed in 1.70 and
|
||||||
# non-existent in older versions
|
# non-existent in older versions
|
||||||
|
@ -129,7 +128,6 @@ stdenv.mkDerivation rec {
|
||||||
python3.pkgs.numpy
|
python3.pkgs.numpy
|
||||||
] ++ lib.optionals enableFlight [
|
] ++ lib.optionals enableFlight [
|
||||||
grpc
|
grpc
|
||||||
libnsl
|
|
||||||
openssl
|
openssl
|
||||||
protobuf
|
protobuf
|
||||||
] ++ lib.optionals enableS3 [ aws-sdk-cpp openssl ]
|
] ++ lib.optionals enableS3 [ aws-sdk-cpp openssl ]
|
||||||
|
|
Loading…
Reference in a new issue