diff --git a/pkgs/applications/version-management/git-branchless/default.nix b/pkgs/applications/version-management/git-branchless/default.nix index b5dac8816441..b4997b85575b 100644 --- a/pkgs/applications/version-management/git-branchless/default.nix +++ b/pkgs/applications/version-management/git-branchless/default.nix @@ -2,15 +2,12 @@ lib, fetchFromGitHub, git, - libiconv, ncurses, openssl, pkg-config, rustPlatform, sqlite, stdenv, - Security, - SystemConfiguration, }: rustPlatform.buildRustPackage rec { @@ -28,17 +25,11 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - buildInputs = - [ - ncurses - openssl - sqlite - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - Security - SystemConfiguration - libiconv - ]; + buildInputs = [ + ncurses + openssl + sqlite + ]; postInstall = lib.optionalString (with stdenv; buildPlatform.canExecute hostPlatform) '' $out/bin/git-branchless install-man-pages $out/share/man diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ce9bdc171203..70abdc12e233 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1227,9 +1227,7 @@ with pkgs; git-archive-all = python3.pkgs.callPackage ../applications/version-management/git-archive-all { }; - git-branchless = callPackage ../applications/version-management/git-branchless { - inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; - }; + git-branchless = callPackage ../applications/version-management/git-branchless { }; git-cinnabar = callPackage ../applications/version-management/git-cinnabar { inherit (darwin.apple_sdk.frameworks) CoreServices;