In the dev shell for esp-idf-full, the environment variable OPENOCD_SCRIPTS gets an additional export added, which point to a non existing directory:
[~]$ nix develop github:mirrexagon/nixpkgs-esp-dev#esp-idf-full
(nix-shell)[~]$ echo $OPENOCD_SCRIPTS
/nix/store/yrqc9pykz07i5ldbkqg83x6p33y1911r-openocd-esp32-esp-idf-v5.5.2/openocd-esp32/share/openocd/scriptsexport
(nix-shell)[~]$ ls $OPENOCD_SCRIPTS
ls: cannot access '/nix/store/yrqc9pykz07i5ldbkqg83x6p33y1911r-openocd-esp32-esp-idf-v5.5.2/openocd-esp32/share/openocd/scriptsexport': No such file or directory
(nix-shell)[~]$ ls /nix/store/yrqc9pykz07i5ldbkqg83x6p33y1911r-openocd-esp32-esp-idf-v5.5.2/openocd-esp32/share/openocd/scripts
bitsbytes.tcl board chip cpld cpu esp-config.json file_renaming.cfg fpga interface mem_helper.tcl memory.tcl mmr_helpers.tcl target test tools
In the dev shell for esp-idf-full, the environment variable
OPENOCD_SCRIPTSgets an additionalexportadded, which point to a non existing directory: