Add readme to include NixOS command

This commit is contained in:
Bjorn Beishline
2025-11-21 01:24:41 -07:00
parent 1ccd810de1
commit d1807c72fa

View File

@@ -77,7 +77,18 @@ rustup component add rust-src llvm-tools-preview
sudo apt install qemu-system-aarch64
```
Additionally you will need a version of the [aarch64-none-elf](https://developer.arm.com/Tools%20and%20Software/GNU%20Toolchain) toolchain installed. To do this, download the correct release of `aarch64-none-elf` onto your computer, unpack it, then export the `bin` folder to path.
Additionally you will need a version of the [aarch64-none-elf](https://developer.arm.com/Tools%20and%20Software/GNU%20Toolchain) toolchain installed.
#### Any OS
To install aarch64-none-elf on any os, download the correct release of `aarch64-none-elf` onto your computer, unpack it, then export the `bin` folder to path.
#### NixOS
Run the following command
```bash
nix shell nixpkgs#pkgsCross.aarch64-embedded.stdenv.cc nixpkgs#pkgsCross.aarch64-embedded.stdenv.cc.bintools
```
### Running via QEMU