From 9f2865515de2148dd35b720d4592783617e4e177 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Wed, 11 Mar 2015 23:26:21 +0100 Subject: Fix infinite loop in fontconfig-ultimate.nix With the new evaluation of arguments, pkgs is now defined by the configuration, which implies that option declaration with pkgs.lib will cause an infinite loop. --- nixos/modules/config/fonts/fontconfig-ultimate.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/config/fonts') diff --git a/nixos/modules/config/fonts/fontconfig-ultimate.nix b/nixos/modules/config/fonts/fontconfig-ultimate.nix index 853f253ff9bc..02568f9de51e 100644 --- a/nixos/modules/config/fonts/fontconfig-ultimate.nix +++ b/nixos/modules/config/fonts/fontconfig-ultimate.nix @@ -1,6 +1,6 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: -with pkgs.lib; +with lib; let fcBool = x: if x then "true" else "false"; in -- cgit 1.4.1