mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
git-trim: fix darwin build
Add the required framework to dependencies.
This commit is contained in:
parent
3b8e15b8d3
commit
45710e1d7d
@ -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
|
||||
|
@ -1957,8 +1957,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user