diff --git a/pkgs/tools/networking/bandwhich/default.nix b/pkgs/by-name/ba/bandwhich/package.nix similarity index 94% rename from pkgs/tools/networking/bandwhich/default.nix rename to pkgs/by-name/ba/bandwhich/package.nix index 181c86ca8669..ded6885a248e 100644 --- a/pkgs/tools/networking/bandwhich/default.nix +++ b/pkgs/by-name/ba/bandwhich/package.nix @@ -3,8 +3,9 @@ stdenv, fetchFromGitHub, rustPlatform, - Security, installShellFiles, + + darwin, }: rustPlatform.buildRustPackage rec { @@ -28,7 +29,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security; + buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security; # 10 passed; 47 failed https://hydra.nixos.org/build/148943783/nixlog/1 doCheck = !stdenv.hostPlatform.isDarwin; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0734f779f0aa..b635af5cbf69 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1992,10 +1992,6 @@ with pkgs; libssl = openssl; }; - bandwhich = callPackage ../tools/networking/bandwhich { - inherit (darwin.apple_sdk.frameworks) Security; - }; - base16-builder = callPackage ../misc/base16-builder { }; babelfish = callPackage ../shells/fish/babelfish.nix { };