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;