Merge pull request #311352 from RaghavSood/buckle/fix-build

buckle: add darwin dependencies

authored by Weijia Wang and committed by GitHub 60f1c39a e38231dd

+12 -1
+12 -1
pkgs/by-name/bu/buckle/package.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform }: 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + rustPlatform, 6 + darwin, 7 + }: 2 8 3 9 rustPlatform.buildRustPackage rec { 4 10 pname = "buckle"; ··· 11 17 rev = "v${version}"; 12 18 sha256 = "sha256-eWhcDzw+6I5N0dse5avwhcQ/y6YZ6b3QKyBwWBrA/xo="; 13 19 }; 20 + 21 + buildInputs = lib.optionals stdenv.isDarwin [ 22 + darwin.apple_sdk.frameworks.Security 23 + darwin.apple_sdk.frameworks.SystemConfiguration 24 + ]; 14 25 15 26 checkFlags = [ 16 27 # Both tests access the network.