2019-03-25 16:07:50 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
let
|
|
|
|
derivations = import ./derivations.nix { inherit pkgs; };
|
2019-04-26 18:27:06 +08:00
|
|
|
jobs = derivations // {
|
|
|
|
helloworld_ecp5 = import ./examples/helloworld_ecp5.nix { inherit pkgs; };
|
|
|
|
helloworld_kintex7 = import ./examples/helloworld_kintex7.nix { inherit pkgs; };
|
|
|
|
};
|
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
|