flake.nix: simplify forAllSystems

pull/45/head
Astro 2021-03-09 23:06:19 +01:00
parent df69823767
commit 3d6ca4564e
1 changed files with 1 additions and 4 deletions

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: