git-igitt: fix on darwin (#340220)

This commit is contained in:
Aleksana 2024-09-13 13:01:27 +08:00 committed by GitHub
commit 36fa450532
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,8 @@
libgit2,
oniguruma,
zlib,
stdenv,
darwin,
nix-update-script,
}:
@ -31,7 +33,7 @@ rustPlatform.buildRustPackage {
libgit2
oniguruma
zlib
];
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
env = {
RUSTONIG_SYSTEM_LIBONIG = true;