diff options
Diffstat (limited to 'pkgs/by-name/bu/buckle/package.nix')
-rw-r--r-- | pkgs/by-name/bu/buckle/package.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/by-name/bu/buckle/package.nix b/pkgs/by-name/bu/buckle/package.nix index bc34858d52914..390c78534b115 100644 --- a/pkgs/by-name/bu/buckle/package.nix +++ b/pkgs/by-name/bu/buckle/package.nix @@ -1,4 +1,10 @@ -{ lib, fetchFromGitHub, rustPlatform }: +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, + darwin, +}: rustPlatform.buildRustPackage rec { pname = "buckle"; @@ -12,6 +18,11 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-eWhcDzw+6I5N0dse5avwhcQ/y6YZ6b3QKyBwWBrA/xo="; }; + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + darwin.apple_sdk.frameworks.SystemConfiguration + ]; + checkFlags = [ # Both tests access the network. "--skip=test_buck2_latest" @@ -19,7 +30,7 @@ rustPlatform.buildRustPackage rec { ]; meta = with lib; { - description = "A buck2 launcher"; + description = "Buck2 launcher"; longDescription = '' Buckle is a launcher for [Buck2](https://buck2.build). It manages Buck2 on a per-project basis. This enables a project or team to do |