nixos-riscv/README.md

20 lines
273 B
Markdown
Raw Normal View History

2023-11-27 11:41:05 +01:00
# NixOS on RISC-V
2023-02-16 13:23:11 +01:00
2024-01-17 18:24:36 +01:00
To boot the system in QEMU, first enter the development shell:
2023-02-16 13:23:11 +01:00
2024-01-17 18:24:36 +01:00
```
$ nix develop
```
2023-02-16 13:23:11 +01:00
2024-01-17 18:24:36 +01:00
Then run the boot script:
```
$ ./boot.sh
```
2024-01-25 15:50:33 +01:00
To prevent the GC from erasing the system:
```
$ nix build .#devShells.x86_64-linux.default --out-link result-env
```