diff options
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-cinnabar/default.nix | 3 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-cinnabar/default.nix b/pkgs/applications/version-management/git-and-tools/git-cinnabar/default.nix index df6a084bbd754..4141c6c1b6a46 100644 --- a/pkgs/applications/version-management/git-and-tools/git-cinnabar/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-cinnabar/default.nix @@ -1,5 +1,6 @@ { stdenv, lib, fetchFromGitHub, autoconf, makeWrapper , curl, libiconv, mercurial, zlib +, CoreServices }: let @@ -19,7 +20,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ autoconf makeWrapper ]; - buildInputs = [ curl zlib ] ++ lib.optional stdenv.isDarwin libiconv; + buildInputs = [ curl zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv CoreServices ]; # Ignore submodule status failing due to no git in environment. makeFlags = [ "SUBMODULE_STATUS=yes" ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d20e18b5f4ce6..1fdfdcbea4171 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6945,7 +6945,9 @@ with pkgs; git-chglog = callPackage ../applications/version-management/git-and-tools/git-chglog { }; - git-cinnabar = callPackage ../applications/version-management/git-and-tools/git-cinnabar { }; + git-cinnabar = callPackage ../applications/version-management/git-and-tools/git-cinnabar { + inherit (darwin.apple_sdk.frameworks) CoreServices; + }; git-cliff = callPackage ../applications/version-management/git-and-tools/git-cliff { inherit (darwin.apple_sdk.frameworks) Security; |