summary refs log tree commit diff
path: root/nixos/modules/config/fonts
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-03-11 23:26:21 +0100
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-03-12 23:42:58 +0100
commit9f2865515de2148dd35b720d4592783617e4e177 (patch)
tree10de34229ec5068537c41006e6fe8b8c9424d0b0 /nixos/modules/config/fonts
parent3177d3765236bccd8310b86029b24673b967abf7 (diff)
downloadnixlib-9f2865515de2148dd35b720d4592783617e4e177.tar
nixlib-9f2865515de2148dd35b720d4592783617e4e177.tar.gz
nixlib-9f2865515de2148dd35b720d4592783617e4e177.tar.bz2
nixlib-9f2865515de2148dd35b720d4592783617e4e177.tar.lz
nixlib-9f2865515de2148dd35b720d4592783617e4e177.tar.xz
nixlib-9f2865515de2148dd35b720d4592783617e4e177.tar.zst
nixlib-9f2865515de2148dd35b720d4592783617e4e177.zip
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.
Diffstat (limited to 'nixos/modules/config/fonts')
-rw-r--r--nixos/modules/config/fonts/fontconfig-ultimate.nix4
1 files changed, 2 insertions, 2 deletions
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 "<bool>true</bool>" else "<bool>false</bool>";
 in