Skip to content

Commit 7885796

Browse files
committed
fix(nix): add OpenSSL to buildInputs for compiling git2 crate
1 parent f47aad7 commit 7885796

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flake.nix

+8
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
useNextest = true;
3131
dontUseCargoParallelTests = true;
3232

33+
nativeBuildInputs = with pkgs; [
34+
pkg-config
35+
];
36+
buildInputs = with pkgs; [
37+
openssl
38+
];
39+
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
40+
3341
meta = {
3442
description = cargoPackage.description;
3543
homepage = cargoPackage.repository;

0 commit comments

Comments
 (0)