From 3d6ca4564e276558f0fd544082299935f209202d Mon Sep 17 00:00:00 2001 From: Stephan Maka Date: Tue, 9 Mar 2021 23:06:19 +0100 Subject: [PATCH] flake.nix: simplify forAllSystems --- flake.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 02c59fa..37a8788 100644 --- a/flake.nix +++ b/flake.nix @@ -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: