Use lib instead of pkgs.lib
Usage of pkgs.lib may cause infinite recursion
This commit is contained in:
parent
9ee5b8d3fc
commit
2b91426920
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.crashplan;
|
||||
@ -6,7 +6,7 @@ let
|
||||
varDir = "/var/lib/crashplan";
|
||||
in
|
||||
|
||||
with pkgs.lib;
|
||||
with lib;
|
||||
|
||||
{
|
||||
options = {
|
||||
@ -60,4 +60,4 @@ with pkgs.lib;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user