You need nix with the flakes
, and nix-command
experimental features enabled!
Now wherever in the repo run nix develop
This will set up all needed deps to build and develop
It's as simple as cargo build
!
I haven't tested on real hardware, but to virtualize
install QEMU (included in nix dev env), and just
run cargo run
!
This is mostly based on the posts of blog_os