From a1e01cf3c36bc3fd35753633774a3a6046dcbbdb Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 19 Mar 2024 10:18:25 +1300 Subject: [PATCH] flake: remove with statement --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6bd5873..5951c06 100644 --- a/flake.nix +++ b/flake.nix @@ -6,10 +6,10 @@ }; outputs = { self, nixpkgs }: - with nixpkgs.lib; let + plats = nixpkgs.lib.platforms.unix; forAllSystems = fn: - genAttrs platforms.unix (system: + nixpkgs.lib.genAttrs plats (system: fn (import nixpkgs { inherit system; })