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 df6a084bbd75..4141c6c1b6a4 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 ac51b9fcc46b..24295e0222ca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6941,7 +6941,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;