From 403465935058d0ff0b62da10196f96de794d83a5 Mon Sep 17 00:00:00 2001 From: Pacman99 Date: Mon, 15 Mar 2021 17:02:20 -0700 Subject: [PATCH] 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 --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e1ff3c4a..4f8cc3bd 100644 --- a/flake.nix +++ b/flake.nix @@ -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";