aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/nix/devShell.nix
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-07 18:29:21 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-07 18:29:21 +0300
commitdcfe11a7588fcd42471159453810abc9b7720a57 (patch)
treec32a77266028e73ca2382b96c96f8438a5fcd621 /vendor/libghostty-vt/nix/devShell.nix
parent2dfed860103c4e4505ac7f25def9fe37da1e1e6a (diff)
build: update libghostty-vt vendor
vendor ghostty 063ac3e and remove the musl libc++ link workaround. expose the new selection formatter and hyperlink uri apis for follow-up rendering work. add manual artifact validation for static linux builds.
Diffstat (limited to 'vendor/libghostty-vt/nix/devShell.nix')
-rw-r--r--vendor/libghostty-vt/nix/devShell.nix18
1 files changed, 16 insertions, 2 deletions
diff --git a/vendor/libghostty-vt/nix/devShell.nix b/vendor/libghostty-vt/nix/devShell.nix
index df08fc20..b530c56c 100644
--- a/vendor/libghostty-vt/nix/devShell.nix
+++ b/vendor/libghostty-vt/nix/devShell.nix
@@ -12,7 +12,7 @@
#, glxinfo # unused
ncurses,
nodejs,
- nodePackages,
+ prettier,
oniguruma,
parallel,
pkg-config,
@@ -109,7 +109,7 @@ in
nodejs
# Linting
- nodePackages.prettier
+ prettier
alejandra
pinact
typos
@@ -227,8 +227,22 @@ in
unset SDKROOT
unset DEVELOPER_DIR
+ # AFL++ needs to use the Homebrew/system Apple toolchain directly.
+ # The Nix compiler wrapper variables leak a Nix linker into afl-cc,
+ # which breaks even trivial fuzz harness links on macOS.
+ unset NIX_CC
+ unset NIX_CFLAGS_COMPILE
+ unset NIX_LDFLAGS
+ unset LD
+ unset CC
+ unset CXX
+ unset CFLAGS
+ unset CPPFLAGS
+ unset LDFLAGS
+
# We need to remove "xcrun" from the PATH. It is injected by
# some dependency but we need to rely on system Xcode tools
export PATH=$(echo "$PATH" | awk -v RS=: -v ORS=: '$0 !~ /xcrun/ || $0 == "/usr/bin" {print}' | sed 's/:$//')
+ export PATH="/opt/homebrew/opt/llvm/bin:/opt/homebrew/bin:/usr/local/opt/llvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
'');
}