2
0
genodepkgs/flake.nix

38 lines
936 B
Nix
Raw Normal View History

2019-10-28 20:19:52 +01:00
{
edition = 201909;
description = "Genode package overlay";
inputs = {
2019-11-05 16:00:56 +01:00
nixpkgs.uri = "git+https://gitea.c3d2.de/ehmry/nixpkgs.git";
dhall-haskell.uri =
"git+https://github.com/dhall-lang/dhall-haskell?ref=flake";
2019-10-28 20:19:52 +01:00
};
outputs = { self, nixpkgs, dhall-haskell }:
2019-11-05 16:00:56 +01:00
let fullPkgs = import ./packages.nix { nixpkgs = import nixpkgs; };
2019-10-28 20:19:52 +01:00
in {
packages = with fullPkgs; {
inherit stdenv nova genode-os genode-base genode-base-nova
genode-base-linux solo5;
};
2019-11-05 16:00:56 +01:00
defaultPackage = self.packages.genode-os;
2019-10-28 20:19:52 +01:00
hydraJobs = {
build.x86_64 = {
inherit (self.packages)
nova stdenv solo5 genode-base-linux genode-base-nova genode-os;
};
tests = import ./tests {
inherit nixpkgs dhall-haskell;
genodepkgs = fullPkgs;
};
};
2019-11-05 16:00:56 +01:00
checks = { inherit (self.hydraJobs.tests.x86_64.nova) pci; };
2019-10-28 20:19:52 +01:00
};
}
2019-11-05 16:00:56 +01:00