ghostty/nix/build-support/build-inputs.nix
Jeffrey C. Ollie 648e0a06ab CI: Add checks for blueprint compiler / Nix refactors
1. Refactored Nix devshell/package to make it easier to keep
   LD_LIBRARY_PATH & buildInputs in sync (plus make it easier to re-use
   in other Nix environment).
2. Added a CI job to ensure that Blueprints are formatted correctly and
   that they will compile using `blueprint-compiler` 0.16.0.
3. Reformatted all Blueprints with `blueprint-compiler format`.
2025-03-18 16:12:49 -05:00

44 lines
703 B
Nix

{
pkgs,
lib,
stdenv,
enableX11 ? true,
enableWayland ? true,
}:
[
pkgs.libGL
]
++ lib.optionals stdenv.hostPlatform.isLinux [
pkgs.bzip2
pkgs.expat
pkgs.fontconfig
pkgs.freetype
pkgs.harfbuzz
pkgs.libpng
pkgs.libxml2
pkgs.oniguruma
pkgs.simdutf
pkgs.zlib
pkgs.glslang
pkgs.spirv-cross
pkgs.libxkbcommon
pkgs.glib
pkgs.gobject-introspection
pkgs.gsettings-desktop-schemas
pkgs.gtk4
pkgs.libadwaita
]
++ lib.optionals (stdenv.hostPlatform.isLinux && enableX11) [
pkgs.xorg.libX11
pkgs.xorg.libXcursor
pkgs.xorg.libXi
pkgs.xorg.libXrandr
]
++ lib.optionals (stdenv.hostPlatform.isLinux && enableWayland) [
pkgs.gtk4-layer-shell
pkgs.wayland
]