Some dependencies are included as submodules. Nix commands, such as nix build or nix run, can fail during the Gradle build due to missing paths to the modules they depend on. This concerns mainly, or maybe only, the JC SDKs.
[...]
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':applet'.
> Invalid JavaCard SDK path : /build/7blnr0b74779385ki7pzr7ah4h9q5xdg-source/ext/sdks/jc320v24.0_kit
[...]
The solution for now is to include ?submodules=1 or as part of the target path, such as nix run '?submodules=1#...'. It should be possible to simplify this by explicitly including the submodules within the flakes input. However, this does not work properly atm.
I'll add the supposed solution, but until the above issue is fixed, it might not work as expected (caching also comes into the picture).
Some dependencies are included as submodules. Nix commands, such as
nix buildornix run, can fail during the Gradle build due to missing paths to the modules they depend on. This concerns mainly, or maybe only, the JC SDKs.The solution for now is to include
?submodules=1or as part of the target path, such asnix run '?submodules=1#...'. It should be possible to simplify this by explicitly including the submodules within the flakes input. However, this does not work properly atm.I'll add the supposed solution, but until the above issue is fixed, it might not work as expected (caching also comes into the picture).