use nix-direnv
parent
1063d8ba8b
commit
700124ea8e
5
.envrc
5
.envrc
|
|
@ -1,5 +1,6 @@
|
|||
# If we are a computer with nix-shell available, then use that to setup
|
||||
# the build environment with exactly what we need.
|
||||
if has nix-shell; then
|
||||
use nix
|
||||
if has nix; then
|
||||
# Can add ". --impure" if we ever need the parent shell environment. We might.
|
||||
use flake
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
.direnv/
|
||||
zig-cache/
|
||||
zig-out/
|
||||
/result*
|
||||
|
|
|
|||
|
|
@ -24,14 +24,18 @@
|
|||
name = "ghostty";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gdb
|
||||
# For builds
|
||||
pkg-config
|
||||
scdoc
|
||||
tracy
|
||||
zig
|
||||
|
||||
# Utilities
|
||||
glxinfo
|
||||
vttest
|
||||
|
||||
# Testing
|
||||
gdb
|
||||
tracy
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
@ -39,11 +43,6 @@
|
|||
] ++ lib.optionals stdenv.isLinux [
|
||||
libGL
|
||||
|
||||
fontconfig
|
||||
freetype
|
||||
libpng
|
||||
bzip2
|
||||
|
||||
libX11
|
||||
libXcursor
|
||||
libXext
|
||||
|
|
|
|||
Loading…
Reference in New Issue