HeavyX/release.nix

14 lines
531 B
Nix
Raw Normal View History

{ }:
let
2019-06-06 12:12:40 +08:00
pkgs = import <nixpkgs> { overlays = [ (import ./overlay.nix) ]; };
derivations = import ./derivations.nix { inherit pkgs; };
jobs = derivations // {
2019-06-06 12:24:48 +08:00
inherit (pkgs) llvm_7 rustc cargo cargo-vendor;
helloworld_ecp5 = import ./examples/helloworld_ecp5.nix { inherit pkgs; };
helloworld_kintex7 = import ./examples/helloworld_kintex7.nix { inherit pkgs; };
2019-05-02 12:54:57 +08:00
simplesoc_ecp5 = import ./examples/simplesoc_ecp5.nix { inherit pkgs; };
};
in
builtins.mapAttrs (name: value: pkgs.lib.hydraJob value) jobs