mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-05-31 20:48:41 +03:00
55 lines
640 B
Nix
55 lines
640 B
Nix
{ mkShell, lib, stdenv
|
|
|
|
, gdb
|
|
, glxinfo
|
|
, parallel
|
|
, pkg-config
|
|
, scdoc
|
|
, tracy
|
|
, vulkan-loader
|
|
, vttest
|
|
, wraptest
|
|
, zig
|
|
|
|
, bzip2
|
|
, fontconfig
|
|
, freetype
|
|
, libpng
|
|
, libGL
|
|
, libX11
|
|
, libXcursor
|
|
, libXext
|
|
, libXi
|
|
, libXinerama
|
|
, libXrandr
|
|
}: mkShell rec {
|
|
name = "ghostty";
|
|
|
|
nativeBuildInputs = [
|
|
# For builds
|
|
pkg-config
|
|
scdoc
|
|
zig
|
|
|
|
# Testing
|
|
gdb
|
|
parallel
|
|
tracy
|
|
vttest
|
|
wraptest
|
|
];
|
|
|
|
buildInputs = [
|
|
# TODO: non-linux
|
|
] ++ lib.optionals stdenv.isLinux [
|
|
libX11
|
|
libXcursor
|
|
libXext
|
|
libXi
|
|
libXinerama
|
|
libXrandr
|
|
];
|
|
|
|
LD_LIBRARY_PATH = "${libX11}/lib:${libGL}/lib";
|
|
}
|