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.
This commit is contained in:
Nicolas B. Pierron 2015-03-11 23:26:21 +01:00
parent 3177d37652
commit 9f2865515d

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
with pkgs.lib;
with lib;
let fcBool = x: if x then "<bool>true</bool>" else "<bool>false</bool>";
in