From 5a5e9a6a799487443923ebcda01256c1ecf57f5a Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Mon, 13 May 2024 20:48:34 -0500 Subject: [PATCH] Fix the nix build --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 302b3aa233..2340381000 100644 --- a/flake.nix +++ b/flake.nix @@ -332,6 +332,10 @@ version cargoArtifacts; + # openssl and pkg-config are for git2; not needed if we switch to gitoxide + buildInputs = with pkgs; [ pkg-config ]; + nativeBuildInputs = with pkgs; [ openssl ]; + cargoExtraArgs = "${cargoBuildExtraArgs} ${extraBuildArgs} --package ${cargoPackage}"; } // extraArgs);