Open crabdancing opened 3 days ago
Hmm, you shouldn't have to do anything special. The setupHook
will set the PLATFORMIO_CORE_DIR
environment variable to a path in the build dir, which should take care of things. My guess is the dependency isn't in the lockfile or there's a bug linking dependencies in setupHook
. Do you have an example repo?
So far, I've figured out that to use platformio2nix, I have to manually write my own
buildPhase
/patchPhase
/etc. As it stands, if I try to callpio run -t build
, like so:The result is that PlatformIO immediately tries to connect to the internet, fails, and throws a fit:
So there's something special I have to do to get the dependencies fetched by Nix via
platformio2nix
to be used bypio
?