From 783d6c7ddce59deb21d162f51351dc8bc5c0aeda Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 18 Apr 2020 17:08:07 -0400 Subject: [PATCH] build directions --- doc/BUILDING.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/BUILDING.md diff --git a/doc/BUILDING.md b/doc/BUILDING.md new file mode 100644 index 0000000..6ae1840 --- /dev/null +++ b/doc/BUILDING.md @@ -0,0 +1,24 @@ +# Build Directions + +## EASY METHOD + +- Install [nix][nix] +- Run `nix-shell` in the XeOS folder +- Run `cargo xbuild` in the XeOS folder + +[nix]: https://nixos.org/nix/ + +## Less easy method + +``` +$ rustup install nightly-2020-04-08 +$ rustup default nightly-2020-04-08 +$ cargo install cargo-xbuild +$ cargo install bootloader +$ cargo xbuild +``` + +Other versions of Rust might work, but the version listed in +[`rust.nix`][rustnix] is the most accurate. + +[rustnix]: https://tulpa.dev/cadey/XeOS/src/branch/master/nix/rust.nix