vector: add SystemConfiguration for darwin, fixes ld

This commit is contained in:
ahirner
2023-12-13 00:10:47 +00:00
committed by Yt
parent 6b83dc8ff8
commit 4eb501c977
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -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";
+1 -1
View File
@@ -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;