mirror of
https://github.com/divnix/digga.git
synced 2024-11-23 20:22:04 +03:00
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
@ -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 New Issue
Block a user