20 lines
273 B
Markdown
20 lines
273 B
Markdown
# NixOS on RISC-V
|
|
|
|
To boot the system in QEMU, first enter the development shell:
|
|
|
|
```
|
|
$ nix develop
|
|
```
|
|
|
|
Then run the boot script:
|
|
|
|
```
|
|
$ ./boot.sh
|
|
```
|
|
|
|
To prevent the GC from erasing the system:
|
|
|
|
```
|
|
$ nix build .#devShells.x86_64-linux.default --out-link result-env
|
|
```
|