diff --git a/nci.nix b/nci.nix index 62c523e..351ac77 100644 --- a/nci.nix +++ b/nci.nix @@ -49,5 +49,24 @@ }; }; }; + nci.crates.nix-bindings-store = + let + addHarmoniaProfile = '' + cat >> Cargo.toml <<'EOF' + + [profile.harmonia] + inherits = "release" + EOF + ''; + in + { + profiles.harmonia = { + features = [ "harmonia" ]; + runTests = true; + # Add harmonia profile to Cargo.toml for both deps and main builds + depsDrvConfig.mkDerivation.postPatch = addHarmoniaProfile; + drvConfig.mkDerivation.postPatch = addHarmoniaProfile; + }; + }; }; }