Skip to content

Commit 286db94

Browse files
committed
Add Hydra jobset and Buildkite pipeline
1 parent 1251129 commit 286db94

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.buildkite/pipeline.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
env:
2+
NIX_PATH: "nixpkgs=channel:nixos-19.03"
3+
NIX_BUILD_ARGS: "--cores 0 --max-jobs 2"
4+
5+
steps:
6+
- label: 'Run tests'
7+
command: ./test/tests.sh
8+
agents:
9+
system: x86_64-linux

README.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Alternative Haskell Infrastructure for Nixpkgs
44

55
[[https://travis-ci.org/input-output-hk/haskell.nix][https://travis-ci.org/input-output-hk/haskell.nix.svg?branch=master]]
6+
[[https://buildkite.com/input-output-hk/haskell-dot-nix][https://badge.buildkite.com/d453edcd29bd2f8f3f3b32c9b7d6777a33773d9671c37a6ccc.svg]]
67

78
=haskell.nix= is an experimental new builder for Haskell packages.
89

release.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
with (import ./default.nix {});
2+
3+
{
4+
inherit nix-tools;
5+
6+
tests = callPackage ./test {};
7+
}

test/default.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
{ pkgs ? import <nixpkgs> { } }:
1+
{ pkgs ? import <nixpkgs> { }
2+
, haskell ? pkgs.callPackage ../. { }
3+
}:
24

35
with pkgs;
46

57
let
6-
7-
# The new Haskell infra applied to nix representation of Hackage
8-
haskell = pkgs.callPackage ../. { };
9-
108
util = callPackage ./util.nix {};
119

1210
in {

0 commit comments

Comments
 (0)