From ad412bdd8c31c9e3dd15aa732dc4c470da5fc181 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sat, 24 Jan 2026 21:01:38 -0500 Subject: [PATCH] CI with and without harmonia --- nci.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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; + }; + }; }; }