Sigil OS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Emery Hemingway ae1b0b8ef1 Add .history to .gitignore 3 years ago
LICENSES Use flake apps for tests 3 years ago
apps Add linux-boot and render-init apps 3 years ago
lib Use flake apps for tests 3 years ago
nixos Relicense as CC0-1.0 3 years ago
packages Relicense as CC0-1.0 3 years ago
tests Use flake apps for tests 3 years ago
tool Clean dead expressions 3 years ago
.CC0-1.0.png Relicense as CC0-1.0 3 years ago
.gitignore Add .history to .gitignore 3 years ago
.gitmodules Update dhall-haskell, enable tests for Hydra 3 years ago Prune dead code, improve readibility, update README 3 years ago
flake.lock Move packaging of Genode core repositories here 3 years ago
flake.nix Use flake apps for tests 3 years ago

Genode Packages

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.

Furthermore, this repository is structured as a Nix flake, with is in itself an experimental extension of the Nix utility. The flakes capable nix frontend is available from Nixpkgs as nixFlakes. It is possible to bootstrap to flakes by installing Nix on a standard Linux distro, followed by nix-env -i nixFlakes. Flakes are available from NixOS using the following expression: { pkgs, ... }: { nix.package = pkgs.nixFlakes; }


The LLVM cross-compiler may useful already, Clang apparently builds trivial Genode componenents without serious problems. Bootstrapping GCC is not practical due to the recursive autotools build system.

The compiler environment for x86_64 should be accessible from the stdenv at the path .#packages.x86_64-linux-x86_64-genode.stdenv. There is currently no recommendations for integrating the compiler within external build systems.

Bootstrapping the LLVM toolchain on a laptop can take hours, so personally I farm out the builds. If you interested in binaries please contact me and we can
setup a cache.