lib: can depend on pkgs (a la nixpkgs#pkgs/pkgs-lib)

This commit is contained in:
David Arnold 2021-03-01 14:00:18 -05:00
parent d20877cd6d
commit bca532ab42
No known key found for this signature in database
GPG Key ID: 6D6A936E69C59D08
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
overlay = import ./pkgs;
lib = import ./lib { inherit nixos; };
lib = import ./lib { inherit nixos pkgs; };
templates.flk.path = ./.;

View File

@ -1,4 +1,4 @@
{ nixos, ... }:
{ nixos, pkgs, ... }:
let
inherit (builtins) attrNames attrValues isAttrs readDir listToAttrs mapAttrs
pathExists filter;