diff options
| author | fabian-mv <fabian@cluster451.org> | 2022-11-05 19:20:01 -0600 |
|---|---|---|
| committer | fabian-mv <fabian@cluster451.org> | 2022-11-05 19:21:01 -0600 |
| commit | 543f9de75d19eb34c386ad25662beb8dd2aed5c4 (patch) | |
| tree | b27dab687ee4a63556ad5337da1f96260973ce79 /nix/flake.nix | |
| parent | 685731ce5e6d5c9843abeb3c594fa0579516d389 (diff) | |
nix: fix fontconfig in qsys launch
Diffstat (limited to '')
| -rw-r--r-- | nix/flake.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nix/flake.nix b/nix/flake.nix index 9e309a8..ac8e4b8 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -25,6 +25,10 @@ export MAKEFLAGS="AR=gcc-ar" export CXXFLAGS="-O3 -flto $(pkg-config --cflags sdl2)" export LDFLAGS="-O3 -flto $(pkg-config --libs sdl2)" + + # <https://discourse.nixos.org/t/fonts-in-nix-installed-packages-on-a-non-nixos-system/5871/7> + export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive" + export FONTCONFIG_FILE="${pkgs.fontconfig.out}/etc/fonts/fonts.conf" ''; }; }; |
