From a809621ea2ff2e57aee320b422d3af2924f4a5af Mon Sep 17 00:00:00 2001 From: patryk4815 Date: Sun, 24 Aug 2025 15:31:12 +0200 Subject: [PATCH] Fix `nix develop` for lldb (#3265) --- nix/devshell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/devshell.nix b/nix/devshell.nix index 2924425c4..bbb235ff1 100644 --- a/nix/devshell.nix +++ b/nix/devshell.nix @@ -81,6 +81,10 @@ in pkgs.lldb_20 ]; shellHook = '' + # lldb looks for the `debugserver` binary in `DEVELOPER_DIR`, + # but nixpkgs does not provide `debugserver` there + unset DEVELOPER_DIR + export PWNDBG_NO_AUTOUPDATE=1 export PWNDBG_NO_UV=1 export PWNDBG_VENV_PATH="${pyEnv}"