Add README

This commit is contained in:
Emery Hemingway 2019-09-24 02:17:43 +02:00
parent 734f38fabb
commit 2a230ea26b
1 changed files with 21 additions and 0 deletions

21
README.md Normal file
View File

@ -0,0 +1,21 @@
# An overlayed Nixpkgs for the Genode OS framework
This repo contains Nix expressions for building Genode with Nixpkgs and building
Nixpkgs for Genode. At the moment the former is experimental and broken in many
cases, the later is probably broken for all cases.
## Toolchain
The LLVM cross-compiler may useful already, Clang apparently builds Genode
without serious problems. Bootstrapping GCC is not feasible.
To compiler environment may be accessed via the `nix-shell` utility and the
`genode.base` attribute defined here.
```sh
nix-shell «path-to-this-repo» -A genode.base
```
Bootstrapping the environment on a laptop can take hours.
TODO: easy binary cache configuration