Skip to content

Reproducible nix shell with fenix

Asbjørn Olling requested to merge nix-shell into main

yeaaahh I spent some time trying to actually build the binary with nix, but it kind of sucks and the linker doesn't work and I don't think that's what we want anyway.

This MR does not enable building the binary with nix, but it does make a reproducible dev shell with nix, where you can run sudo -E cargo embed

At least we got rid of rustup, so we have some kind of idea that we're running the same dev setup.

It also adds a shorthand flash (maybe it should be called something like debug-run??) that does the thing.

So the new dev setup is:

nix develop
flash
Edited by Asbjørn Olling

Merge request reports