mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
phpExtensions.datadog_trace: fix builds on Linux
This commit is contained in:
parent
8ebe29d315
commit
676380cddb
@ -35,11 +35,18 @@ buildPecl rec {
|
||||
nativeBuildInputs = [
|
||||
cargo
|
||||
rustc
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
rustPlatform.bindgenHook
|
||||
rustPlatform.cargoSetupHook
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk_11_0.rustPlatform.bindgenHook
|
||||
darwin.apple_sdk_11_0.rustPlatform.cargoSetupHook
|
||||
];
|
||||
|
||||
buildInputs = [ curl pcre2 ] ++ lib.optionals stdenv.isDarwin [
|
||||
buildInputs = [
|
||||
curl
|
||||
pcre2
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk_11_0.frameworks.CoreFoundation
|
||||
darwin.apple_sdk_11_0.frameworks.Security
|
||||
darwin.apple_sdk_11_0.Libsystem
|
||||
|
Loading…
Reference in New Issue
Block a user