fix compile error by properly installing fontconfig in nix flake

This commit is contained in:
2026-07-04 22:03:38 +02:00
parent b8c6c42e15
commit a25e6cc9f1
+3 -2
View File
@@ -29,10 +29,10 @@
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
libPath = with pkgs; lib.makeLibraryPath [ libPath = with pkgs; lib.makeLibraryPath [
fontconfig.dev
libxkbcommon libxkbcommon
libGL libGL
wayland wayland
fontconfig
]; ];
in in
@@ -44,8 +44,9 @@
buildInputs = [ buildInputs = [
rust rust
cargo-nextest cargo-nextest
pkg-config
fish fish
pkg-config
fontconfig
]; ];
LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${libPath}"; LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${libPath}";