From d1807c72fab256df2c5dd4451907ef0004ac22e4 Mon Sep 17 00:00:00 2001 From: Bjorn Beishline <75190918+BjornTheProgrammer@users.noreply.github.com> Date: Fri, 21 Nov 2025 01:24:41 -0700 Subject: [PATCH] Add readme to include NixOS command --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a885924..e2bd754 100644 --- a/README.md +++ b/README.md @@ -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