modules: fix fontconfig.nix to use '$dst', not 'dst'

Without the change non-default configs like:

    fonts.fontconfig.subpixel.rgba = "rgb"

fail to build the system as:

    fontconfig-conf> ln: failed to create symbolic link 'dst/': No such file or directory
This commit is contained in:
Sergei Trofimovich 2023-06-04 09:44:13 +01:00
parent 3326757c1f
commit 4e2cfde94e

View file

@ -169,7 +169,7 @@ let
replaceDefaultConfig = defaultConfig: newConfig: ''
rm $dst/${defaultConfig}
ln -s ${pkg.out}/share/fontconfig/conf.avail/${newConfig} \
dst/
$dst/
'';
# fontconfig configuration package