Skip to content

OPENOCD_SCRIPTS env var is set to the wrong value #127

Description

@hagl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions