tv xserver: useXFS -> fontPath
tv xserver: useXFS -> fontPath For nixpkgs 21.05
This commit is contained in:
parent
0e6e8b7188
commit
4aec520f84
@ -9,15 +9,15 @@ in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "xserver.conf";
|
||||
|
||||
xfs = optionalString (cfg.useXFS != false)
|
||||
''FontPath "${toString cfg.useXFS}"'';
|
||||
fontPath = optionalString (cfg.fontPath != null)
|
||||
''FontPath "${toString cfg.fontPath}"'';
|
||||
|
||||
inherit (cfg) config;
|
||||
|
||||
buildCommand =
|
||||
''
|
||||
echo 'Section "Files"' >> $out
|
||||
echo $xfs >> $out
|
||||
echo $fontPath >> $out
|
||||
|
||||
for i in ${toString config.fonts.fonts}; do
|
||||
if test "''${i:0:''${#NIX_STORE}}" == "$NIX_STORE"; then
|
||||
|
Loading…
Reference in New Issue
Block a user