tv xserver: useXFS -> fontPath

tv xserver: useXFS -> fontPath

For nixpkgs 21.05
This commit is contained in:
tv 2021-06-10 21:43:04 +02:00
parent 0e6e8b7188
commit 4aec520f84

View File

@ -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