1
1
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:
Pacman99 2021-03-15 17:02:20 -07:00 committed by David Arnold
parent 1ac3d83fc1
commit 4034659350
No known key found for this signature in database
GPG Key ID: 6D6A936E69C59D08

View File

@ -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";