Skip to content

Commit 5a5e9a6

Browse files
committed
Fix the nix build
1 parent 209f114 commit 5a5e9a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flake.nix

+4
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,10 @@
332332
version
333333
cargoArtifacts;
334334

335+
# openssl and pkg-config are for git2; not needed if we switch to gitoxide
336+
buildInputs = with pkgs; [ pkg-config ];
337+
nativeBuildInputs = with pkgs; [ openssl ];
338+
335339
cargoExtraArgs = "${cargoBuildExtraArgs} ${extraBuildArgs} --package ${cargoPackage}";
336340
} // extraArgs);
337341

0 commit comments

Comments
 (0)