Use lib instead of pkgs.lib

Usage of pkgs.lib may cause infinite recursion
This commit is contained in:
Igor Pashev 2014-11-17 20:30:37 +03:00
parent 9ee5b8d3fc
commit 2b91426920

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
let let
cfg = config.services.crashplan; cfg = config.services.crashplan;
@ -6,7 +6,7 @@ let
varDir = "/var/lib/crashplan"; varDir = "/var/lib/crashplan";
in in
with pkgs.lib; with lib;
{ {
options = { options = {
@ -60,4 +60,4 @@ with pkgs.lib;
}; };
}; };
}; };
} }