3
0
Fork 0
forked from mirrors/nixpkgs

starship: use system libgit2

This commit is contained in:
David Knaack 2022-03-27 17:22:43 +02:00 committed by GitHub
parent 71e3a9b62d
commit a8ef08b624
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,8 @@
, rustPlatform
, installShellFiles
, libiconv
, libgit2
, pkg-config
, nixosTests
, Security
, Foundation
@ -20,9 +22,9 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-mqUE4JzNBhvtDpT2LM23eHX8q93wtPqA+/zr/PxEDiE=";
};
nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security Foundation ];
buildInputs = [ libgit2 ] ++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation ];
postInstall = ''
for shell in bash fish zsh; do