lib: pass inputs
to ./lib
library functions now can access inputs (and their sources!) directly, for example in order to copy their closure into the iso registry so that evaluating the flake does not need to fetch inputs again
This commit is contained in:
parent
1ac3d83fc1
commit
4034659350
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
overlay = import ./pkgs;
|
||||
overlays = lib.pathsToImportedAttrs (lib.pathsIn ./overlays);
|
||||
|
||||
lib = import ./lib { inherit nixos pkgs self; };
|
||||
lib = import ./lib { inherit nixos pkgs self inputs; };
|
||||
|
||||
templates.flk.path = ./.;
|
||||
templates.flk.description = "flk template";
|
||||
|
|
Loading…
Reference in a new issue