Conversation
Co-authored-by: DAA <42379074+DaAlbrecht@users.noreply.github.com>
| src = ./.; | ||
| cargoLock.lockFile = ./Cargo.lock; | ||
| doCheck = false; | ||
|
|
There was a problem hiding this comment.
cargoBuildFlags = [ "--all" ];You need --all so that bevy_lint also gets built.
| cargoLock.lockFile = ./Cargo.lock; | ||
| doCheck = false; | ||
|
|
||
| nativeBuildInputs = nativeBuildInputs ++ (with pkgs; [ makeBinaryWrapper ]); |
There was a problem hiding this comment.
postInstall = ''
for bin in $out/bin/bevy{,_lint}; do
wrapProgram $bin --set BEVY_LINT_SYSROOT ${toolchain}
done
'';BEVY_LINT_SYSROOT wrapper is necessary here, so that it can function on a non-rustup system.
|
Any blockers on this PR? The fixes above are very straightforward, so I'm not sure why it's getting stalled for months. |
Co-authored-by: musjj <musjj@users.noreply.github.com>
|
@foob2483-oss @musjj |
|
You just need to run |
musjj
left a comment
There was a problem hiding this comment.
I've tested it and it works! You can test it yourself on your local project like this:
$ nix run github:TheBevyFlock/bevy_cli/cli-flake.nix -- lint
Thanks for testing! I don't have nix installed but I will merge this! |
This is adopted from #532, huge thank you to @CupOfTeaJay!