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 d4fba5d42d
commit b692f6fcfe
8 changed files with 23 additions and 18 deletions

View File

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