Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

cloudflare-wrangler: adding dependencies for darwin

(cherry picked from commit 6274ce11a1301a12f024f0ae592d7cdec1df399e)

authored by

Marek Mahut and committed by
Daiderd Jordan
b460ece5 3c39e188

+7 -2
+7 -2
pkgs/development/tools/cloudflare-wrangler/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl 2 }: 3 4 rustPlatform.buildRustPackage rec { ··· 16 17 nativeBuildInputs = [ pkg-config ]; 18 19 - buildInputs = [ openssl ]; 20 21 # tries to use "/homeless-shelter" and fails 22 doCheck = false;
··· 1 + { stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, curl, darwin 2 }: 3 4 rustPlatform.buildRustPackage rec { ··· 16 17 nativeBuildInputs = [ pkg-config ]; 18 19 + buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ 20 + curl 21 + darwin.apple_sdk.frameworks.Security 22 + darwin.apple_sdk.frameworks.CoreServices 23 + darwin.apple_sdk.frameworks.CoreFoundation 24 + ]; 25 26 # tries to use "/homeless-shelter" and fails 27 doCheck = false;