2
0
Fork 0
Genode Packages collection https://git.sr.ht/~ehmry/genodepkgs/
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Emery Hemingway 693ac303e0 Use a host-only Nixpkgs for test environment
Discriminate test-packages and host-packages when building tests.
This avoids the test tooling being tainted with the hostPlatform
and targetPlatform of the test. For example, QEMU must be built
independently and isolated from the guest platform, for the sake
of test control and minimizing rebuilds.
4 years ago
LICENSES License under Hippocratic-1.1 4 years ago
NOVA License under Hippocratic-1.1 4 years ago
depot Add pinned test binaries 4 years ago
dhall Add dhall-haskell submodule 4 years ago
dhall-haskell@6a8e7e12cc Add dhall-haskell submodule 4 years ago
solo5 Add Solo5 package and tests 4 years ago
tests Use a host-only Nixpkgs for test environment 4 years ago
tool Clean dead expressions 4 years ago
toolchain-overlay Add dhall-haskell submodule 4 years ago
upstream Configure Genode build with tup.config 4 years ago
.gitignore License under Hippocratic-1.1 4 years ago
.gitmodules Add dhall-haskell submodule 4 years ago
README.md Update README 4 years ago
default.nix Use a host-only Nixpkgs for test environment 4 years ago
nixpkgs.nix Use a host-only Nixpkgs for test environment 4 years ago
platform.nix License under Hippocratic-1.1 4 years ago
release.nix Add Solo5 package and tests 4 years ago

README.md

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.

nix-shell «path-to-this-repo» -A genode.base

Bootstrapping the environment on a laptop can take hours.

Continuous builds

C3D2 hydra

Hardware for continuous builds provided by Chaos Computer Club Dresden.

The first hydra is located at https://hydra.hq.c3d2.de/project/genodepkgs.

The following NixOS module will enable use of this Hydra as a cache:

{ ... }: {
  nix = {
    trustedUsers = [ «your-user»  ];

    trustedBinaryCaches = [
      "https://nix-serve.hq.c3d2.de"
    ];

    binaryCachePublicKeys = [
      "nix-serve.hq.c3d2.de:FEi9GyFkou1Ua8INaEKmuGaww9E5y3XwrNGNRfKYeLo="
    ];
  };
}