Skip to content

Commit

Permalink
fix: broken flake checks on nixosModules
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Aug 8, 2022
1 parent 3fab3ce commit abda43b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/make-modules.nix
Expand Up @@ -39,6 +39,7 @@
}
]);

folded = result [] tree;
folded = builtins.listToAttrs (result [] tree);
modules = builtins.mapAttrs (_: v: {config, ...}: {imports = [v];}) folded;
in
builtins.listToAttrs folded
modules

0 comments on commit abda43b

Please sign in to comment.