flake: inherit lib at top level

This commit is contained in:
Jacob Birkett 2024-02-01 23:44:50 -07:00
parent 35b4ac836b
commit fabe645c8b

View file

@ -13,9 +13,9 @@
systems,
alejandra,
}: let
inherit (nixpkgs.lib) genAttrs;
inherit (nixpkgs) lib;
eachSystem = fn:
genAttrs (import systems) (system: let
lib.genAttrs (import systems) (system: let
pkgs = import nixpkgs {localSystem.system = system;};
in
fn system pkgs);