From 2b91426920cf26ac2925312262483d6740eb5113 Mon Sep 17 00:00:00 2001 From: Igor Pashev <pashev.igor@gmail.com> Date: Mon, 17 Nov 2014 20:30:37 +0300 Subject: [PATCH] Use lib instead of pkgs.lib Usage of pkgs.lib may cause infinite recursion --- nixos/modules/services/backup/crashplan.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/backup/crashplan.nix b/nixos/modules/services/backup/crashplan.nix index 1862709b1365..74643d1d4635 100644 --- a/nixos/modules/services/backup/crashplan.nix +++ b/nixos/modules/services/backup/crashplan.nix @@ -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; }; }; }; -} \ No newline at end of file +}