vector: add SystemConfiguration for darwin, fixes ld
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
, libiconv
|
||||
, coreutils
|
||||
, CoreServices
|
||||
, SystemConfiguration
|
||||
, tzdata
|
||||
, cmake
|
||||
, perl
|
||||
@@ -62,8 +63,9 @@ rustPlatform.buildRustPackage {
|
||||
};
|
||||
};
|
||||
nativeBuildInputs = [ pkg-config cmake perl git rustPlatform.bindgenHook ];
|
||||
buildInputs = [ oniguruma openssl protobuf rdkafka zstd rust-jemalloc-sys ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
|
||||
buildInputs =
|
||||
[ oniguruma openssl protobuf rdkafka zstd rust-jemalloc-sys ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices SystemConfiguration ];
|
||||
|
||||
# needed for internal protobuf c wrapper library
|
||||
PROTOC = "${protobuf}/bin/protoc";
|
||||
|
||||
@@ -40429,7 +40429,7 @@ with pkgs;
|
||||
};
|
||||
|
||||
vector = callPackage ../tools/misc/vector {
|
||||
inherit (darwin.apple_sdk.frameworks) Security CoreServices;
|
||||
inherit (darwin.apple_sdk.frameworks) Security CoreServices SystemConfiguration;
|
||||
};
|
||||
|
||||
hjson = with python3Packages; toPythonApplication hjson;
|
||||
|
||||
Reference in New Issue
Block a user