From 4e2cfde94e3f267c709876bbc05ba6f7455504a2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 4 Jun 2023 09:44:13 +0100 Subject: [PATCH] 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 --- nixos/modules/config/fonts/fontconfig.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/fonts/fontconfig.nix b/nixos/modules/config/fonts/fontconfig.nix index 95b1529e2a11..2eee5cd34d06 100644 --- a/nixos/modules/config/fonts/fontconfig.nix +++ b/nixos/modules/config/fonts/fontconfig.nix @@ -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