[WIP] Flakes #45

Closed
astro wants to merge 12 commits from astro/nix-scripts:flakes into master
1 changed files with 1 additions and 4 deletions
Showing only changes of commit 3d6ca4564e - Show all commits

View File

@ -29,10 +29,7 @@
systems = [ systems = [
"x86_64-linux" "x86_64-linux"
]; ];
forAllSystems = f: forAllSystems = nixpkgs.lib.genAttrs systems;
builtins.foldl' (systems: system:
systems // { ${system} = f system; }
) {} systems;
in rec { in rec {
packages = forAllSystems (system: packages = forAllSystems (system: