lib: can depend on pkgs (a la nixpkgs#pkgs/pkgs-lib)
This commit is contained in:
parent
d20877cd6d
commit
bca532ab42
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
overlay = import ./pkgs;
|
overlay = import ./pkgs;
|
||||||
|
|
||||||
lib = import ./lib { inherit nixos; };
|
lib = import ./lib { inherit nixos pkgs; };
|
||||||
|
|
||||||
templates.flk.path = ./.;
|
templates.flk.path = ./.;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ nixos, ... }:
|
{ nixos, pkgs, ... }:
|
||||||
let
|
let
|
||||||
inherit (builtins) attrNames attrValues isAttrs readDir listToAttrs mapAttrs
|
inherit (builtins) attrNames attrValues isAttrs readDir listToAttrs mapAttrs
|
||||||
pathExists filter;
|
pathExists filter;
|
||||||
|
|
Loading…
Reference in a new issue