starship: use system libgit2
This commit is contained in:
parent
71e3a9b62d
commit
a8ef08b624
|
@ -4,6 +4,8 @@
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, libiconv
|
, libiconv
|
||||||
|
, libgit2
|
||||||
|
, pkg-config
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, Security
|
, Security
|
||||||
, Foundation
|
, Foundation
|
||||||
|
@ -20,9 +22,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
sha256 = "sha256-mqUE4JzNBhvtDpT2LM23eHX8q93wtPqA+/zr/PxEDiE=";
|
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 = ''
|
postInstall = ''
|
||||||
for shell in bash fish zsh; do
|
for shell in bash fish zsh; do
|
||||||
|
|
Loading…
Reference in a new issue