fix compile error by properly installing fontconfig in nix flake
This commit is contained in:
@@ -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}";
|
||||||
|
|||||||
Reference in New Issue
Block a user