git-trim: add missing zlib dependency (#369536)
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
openssl,
|
||||
libgit2,
|
||||
IOKit,
|
||||
CoreFoundation,
|
||||
Security,
|
||||
zlib,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
@@ -37,16 +34,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
openssl
|
||||
libgit2
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
IOKit
|
||||
CoreFoundation
|
||||
Security
|
||||
];
|
||||
buildInputs = [
|
||||
openssl
|
||||
libgit2
|
||||
zlib
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 -t $out/share/man/man1/ docs/git-trim.1
|
||||
|
||||
@@ -1261,9 +1261,7 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
git-trim = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-trim {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) IOKit CoreFoundation Security;
|
||||
};
|
||||
git-trim = callPackage ../applications/version-management/git-trim { };
|
||||
|
||||
git-up = callPackage ../applications/version-management/git-up {
|
||||
pythonPackages = python3Packages;
|
||||
|
||||
Reference in New Issue
Block a user