put flake input overrides into a helper function

This commit is contained in:
Jörg Thalheim
2025-07-07 17:12:53 +02:00
committed by Mic92
parent a635f9c6fe
commit 4f13049ee2
8 changed files with 23 additions and 18 deletions

View File

@@ -5,9 +5,7 @@
...
}:
let
inputOverrides = builtins.concatStringsSep " " (
builtins.map (input: " --override-input ${input} ${inputs.${input}}") (builtins.attrNames inputs)
);
inputOverrides = self.clanLib.flake-inputs.getOverrides inputs;
in
{
perSystem =