2019-06-06 12:05:48 +08:00
|
|
|
{ }:
|
2019-03-25 16:07:50 +08:00
|
|
|
let
|
2019-06-06 12:12:40 +08:00
|
|
|
pkgs = import <nixpkgs> { overlays = [ (import ./overlay.nix) ]; };
|
2019-06-06 17:25:11 +08:00
|
|
|
hx = import ./default.nix { inherit pkgs; };
|
|
|
|
jobs = hx.drvs // {
|
2019-06-06 12:24:48 +08:00
|
|
|
inherit (pkgs) llvm_7 rustc cargo cargo-vendor;
|
2019-06-06 12:05:48 +08:00
|
|
|
|
2019-06-06 17:25:11 +08:00
|
|
|
helloworld_ecp5 = import ./examples/helloworld_ecp5.nix { inherit pkgs hx; };
|
|
|
|
helloworld_kintex7 = import ./examples/helloworld_kintex7.nix { inherit pkgs hx; };
|
|
|
|
simplesoc_ecp5 = import ./examples/simplesoc_ecp5.nix { inherit pkgs hx; };
|
2019-04-26 18:27:06 +08:00
|
|
|
};
|
2019-03-25 16:07:50 +08:00
|
|
|
in
|
2019-04-26 18:27:06 +08:00
|
|
|
builtins.mapAttrs (name: value: pkgs.lib.hydraJob value) jobs
|