Make a hydra-compatible job

This commit is contained in:
Graham Christensen 2017-11-30 08:05:26 -05:00
parent 07d798dce2
commit 016fffc01e
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{ pkgs ? import ./nix {} }:
{ pkgs ? import ./nix {}
}:
{
ofborg.rs = (pkgs.callPackage ./nix/ofborg-carnix.nix {}).ofborg_0_1_0;
}

11
release.nix Normal file
View file

@ -0,0 +1,11 @@
{ nixpkgs ? ./nix
, supportedSystems ? [ "x86_64-linux" "x86_64-darwin" ]
}:
let
pkgs = import nixpkgs {};
inherit (pkgs) lib;
ofborgpkgs = lib.genAttrs supportedSystems (system:
(import ./default.nix { pkgs = import nixpkgs { inherit system; }; })
);
in ofborgpkgs