git-cinnabar: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-10-17 22:21:08 +11:00
parent ab6176ac5b
commit 138543af5e
2 changed files with 5 additions and 2 deletions

View file

@ -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" ];

View file

@ -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;