Using buildFHSEnv for dynamically linked libraries with esphome as example

3 Likes

Did you see/try nixpkgs-esp-dev?

May be a little out of date, but works well for me (although I’m doing Rust, which also has its own compiler toolchain fork for Xtensa that I needed to package with Nix [0][1])

Also, FYI, you linked to nixos.wiki instead of the official one (it seems that this is an issue with esp-idf linking to the wrong one, although both wikis link to nixpkgs-esp-dev):

1 Like

Thanks for the link!

I noticed the wiki issue too. Didn’t have time yet but was planning on updating nixpkgs code. That being said I thought I did link to the official wiki from my post… I just updated that.

1 Like

The link to the old wiki actually originates in esp-idf itself, and not in nixpkgs:

1 Like