You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the build system for bevy_lint enforces a specific toolchain proxy via the +<channel>syntax in the cargo check command, assuming the use of rustup. This is incompatible with setups where cargo is installed outside of rustup for example with Nix.
The text was updated successfully, but these errors were encountered:
Does Nix allow installing specific nightly toolchains and components? If not, we may not be able to support it.
Yep, it allows. When packaging and installing in Nix, we can declare a specific toolchain version as dependency.
Simplest way is probably to just add a config/env to not pass +... to cargo and just select the current cargo in PATH.
Config/env var for explicit cargo location at runtime.
Config/env var for explicit cargo location at compile time.
Oh, I just remembered that the driver has to be compiled specifically for a single nightly version. An env variable at compile time is probably the only useful option here.
Currently the build system for
bevy_lint
enforces a specific toolchain proxy via the+<channel>
syntax in thecargo check
command, assuming the use ofrustup
. This is incompatible with setups wherecargo
is installed outside ofrustup
for example withNix
.The text was updated successfully, but these errors were encountered: