From 58fda166ed4a7e2540dea07a3ce0d9127cc95d16 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 30 Oct 2021 13:52:13 +0300 Subject: [PATCH] kitty: fix fontconfig warning during tests --- pkgs/applications/terminal-emulators/kitty/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index cfd46a613f77..4cd8f72b790f 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -100,6 +100,9 @@ buildPythonApplication rec { else "linux-package/bin"; in '' + # Fontconfig error: Cannot load default config file: No such file: (null) + export FONTCONFIG_FILE=${fontconfig.out}/etc/fonts/fonts.conf + env PATH="${buildBinPath}:$PATH" ${python.interpreter} test.py '';