From 93a69d07389311ffd6ce1f4d01836bbc2faec644 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 20 Apr 2022 20:18:39 +0200 Subject: [PATCH] Simplify function (#2903) --- flake.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index f21b1dd0..a5e07317 100644 --- a/flake.nix +++ b/flake.nix @@ -7,8 +7,7 @@ supportedSystems = with nixpkgs.lib.platforms; linux ++ darwin; # Function to generate a set based on supported systems - forAllSystems = f: - nixpkgs.lib.genAttrs supportedSystems (system: f system); + forAllSystems = nixpkgs.lib.genAttrs supportedSystems; nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; }); in rec {