slint gui
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -22,7 +22,21 @@
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.openssl ];
|
||||
# Runtime libraries needed by the Slint/Winit desktop client.
|
||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
||||
pkgs.openssl
|
||||
pkgs.fontconfig
|
||||
pkgs.libx11
|
||||
pkgs.libxcursor
|
||||
pkgs.libxi
|
||||
pkgs.libxrandr
|
||||
pkgs.libxext
|
||||
pkgs.libxkbcommon
|
||||
];
|
||||
|
||||
# Keep font discovery deterministic when running the prebuilt GUI.
|
||||
FONTCONFIG_FILE = "${pkgs.fontconfig}/etc/fonts/fonts.conf";
|
||||
FONTCONFIG_PATH = "${pkgs.fontconfig}/etc/fonts";
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
mermaid-cli
|
||||
|
||||
Reference in New Issue
Block a user