mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
use nix-direnv
This commit is contained in:
5
.envrc
5
.envrc
@ -1,5 +1,6 @@
|
|||||||
# If we are a computer with nix-shell available, then use that to setup
|
# If we are a computer with nix-shell available, then use that to setup
|
||||||
# the build environment with exactly what we need.
|
# the build environment with exactly what we need.
|
||||||
if has nix-shell; then
|
if has nix; then
|
||||||
use nix
|
# Can add ". --impure" if we ever need the parent shell environment. We might.
|
||||||
|
use flake
|
||||||
fi
|
fi
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
.direnv/
|
||||||
zig-cache/
|
zig-cache/
|
||||||
zig-out/
|
zig-out/
|
||||||
/result*
|
/result*
|
||||||
|
@ -24,14 +24,18 @@
|
|||||||
name = "ghostty";
|
name = "ghostty";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
gdb
|
# For builds
|
||||||
pkg-config
|
pkg-config
|
||||||
scdoc
|
scdoc
|
||||||
tracy
|
|
||||||
zig
|
zig
|
||||||
|
|
||||||
|
# Utilities
|
||||||
glxinfo
|
glxinfo
|
||||||
vttest
|
vttest
|
||||||
|
|
||||||
|
# Testing
|
||||||
|
gdb
|
||||||
|
tracy
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -39,11 +43,6 @@
|
|||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
libGL
|
libGL
|
||||||
|
|
||||||
fontconfig
|
|
||||||
freetype
|
|
||||||
libpng
|
|
||||||
bzip2
|
|
||||||
|
|
||||||
libX11
|
libX11
|
||||||
libXcursor
|
libXcursor
|
||||||
libXext
|
libXext
|
||||||
|
Reference in New Issue
Block a user