HeavyX/release.nix

14 lines
549 B
Nix
Raw Normal View History

{ }:
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 // {
inherit (pkgs) yosys nextpnr icestorm trellis llvm_7 rustc cargo cargo-vendor;
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; };
};
in
builtins.mapAttrs (name: value: pkgs.lib.hydraJob value) jobs