Skip to content

Commit

Permalink
lib: export namespaced lib as normal overlay
Browse files Browse the repository at this point in the history
todo: a flollowup commit could change caller sites within this repo to
use `pkgs.devos.lib` / `nixos.devos.lib`, as well.
  • Loading branch information
David Arnold committed Mar 1, 2021
1 parent d20877c commit 601a071
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@

overlay = import ./pkgs;

lib = import ./lib { inherit nixos; };

templates.flk.path = ./.;

templates.flk.description = "flk template";
Expand Down
6 changes: 5 additions & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
final: prev: { }
final: prev: {
devos = {
lib = import ../lib { pkgs = prev; };
}
}

0 comments on commit 601a071

Please sign in to comment.