Closed mrcjkb closed 8 months ago
@teto for some reason, the extra buildInputs
I add to the devShell (rust-analyzer
, rustfmt
, ...) aren't available on the PATH
.
Any idea what could be the issue?
I am never too sure about the rules but because it's not a mkShell but the program buildInputs, in which case you need propagatedBuildInputs to propagate to PATH .
Maybe if you append .inputDerivation
at the end ?
I am never too sure about the rules but because it's not a mkShell but the program buildInputs, in which case you need propagatedBuildInputs to propagate to PATH . Maybe if you append
.inputDerivation
at the end ?
:thinking: none of it worked. Maybe it's something that rustPlatform.buildRustPackage
does...
I ended up using mkShell
and appending rocks.buildInputs ++ rocks.nativeBuildInputs
to the shell's buildInputs
.
A bit hacky, but it works :shrug:
Oops... forgot to set it to squash...
considering the wide usage of this program, feel free to force push if you have git OCD
The obligatory flakeification :smile: