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 = [
"x86_64-linux"
];
forAllSystems = f:
builtins.foldl' (systems: system:
systems // { ${system} = f system; }
) {} systems;
forAllSystems = nixpkgs.lib.genAttrs systems;
in rec {
packages = forAllSystems (system: