File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change
1
+ env :
2
+ NIX_PATH : " nixpkgs=channel:nixos-18.09"
3
+ NIX_BUILD_ARGS : " --cores 0 --max-jobs 2"
4
+
5
+ steps :
6
+ - label : ' Run tests'
7
+ command : " NIX_PATH=nixpkgs=channel:nixos-18.09 ./test/tests.sh"
8
+ agents :
9
+ system : x86_64-linux
Original file line number Diff line number Diff line change 3
3
* Alternative Haskell Infrastructure for Nixpkgs
4
4
5
5
[[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]]
6
7
7
8
=haskell.nix= is an experimental new builder for Haskell packages.
8
9
Original file line number Diff line number Diff line change
1
+ with ( import ./default.nix { } ) ;
2
+
3
+ {
4
+ inherit nix-tools ;
5
+
6
+ tests = callPackage ./test { } ;
7
+ }
Original file line number Diff line number Diff line change 1
- { pkgs ? import <nixpkgs> { } } :
1
+ { pkgs ? import <nixpkgs> { }
2
+ , haskell ? pkgs . callPackage ../. { }
3
+ } :
2
4
3
5
with pkgs ;
4
6
5
7
let
6
-
7
- # The new Haskell infra applied to nix representation of Hackage
8
- haskell = pkgs . callPackage ../. { } ;
9
-
10
8
util = callPackage ./util.nix { } ;
11
9
12
10
in {
You can’t perform that action at this time.
0 commit comments