Merge pull request #222272 from viraptor/git-trim-darwin
git-trim: fix darwin build
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
, libgit2
|
||||
, IOKit
|
||||
, CoreFoundation
|
||||
, Security
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
@@ -36,7 +37,7 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl libgit2 ]
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ];
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit CoreFoundation Security ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 -t $out/share/man/man1/ docs/git-trim.1
|
||||
|
||||
@@ -1963,8 +1963,8 @@ with pkgs;
|
||||
|
||||
git-town = callPackage ../applications/version-management/git-town { };
|
||||
|
||||
git-trim = callPackage ../applications/version-management/git-trim {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreFoundation;
|
||||
git-trim = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-trim {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreFoundation Security;
|
||||
};
|
||||
|
||||
git-up = callPackage ../applications/version-management/git-up {
|
||||
|
||||
Reference in New Issue
Block a user