Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
env:
NIX_PATH: "nixpkgs=channel:nixos-18.09"
NIX_BUILD_ARGS: "--cores 0 --max-jobs 2"

steps:
- label: 'Run tests'
command: "NIX_PATH=nixpkgs=channel:nixos-18.09 ./test/tests.sh"
agents:
system: x86_64-linux
1 change: 1 addition & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Alternative Haskell Infrastructure for Nixpkgs

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

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

Expand Down
7 changes: 7 additions & 0 deletions release.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
with (import ./default.nix {});

{
inherit nix-tools;

tests = callPackage ./test {};
}
8 changes: 3 additions & 5 deletions test/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{ pkgs ? import <nixpkgs> { } }:
{ pkgs ? import <nixpkgs> { }
, haskell ? pkgs.callPackage ../. { }
}:

with pkgs;

let

# The new Haskell infra applied to nix representation of Hackage
haskell = pkgs.callPackage ../. { };

util = callPackage ./util.nix {};

in {
Expand Down