on iko/ghcjs-patch-master help sign in
Fix eval of hydra jobset
commit6e41c11489a7cd61d660e7f51ced53e8bae0c0ab authorRodney Lorrimar <rodney.lorrimar@iohk.io> dateTue 2 Apr 2019, 13:08 (8 years ago) parent96bfd9b
2 files changed+15−17
release.nix+5−6 test/default.nix+10−11
release.nix+5−6
@@ -1,7 +1,6 @@
1−with (import ./default.nix {});
2−
3−{
4− inherit nix-tools;
5−
6− tests = callPackage ./test {};
1+let
2+ haskell = import ./default.nix {};
3+in {
4+ inherit (haskell) nix-tools;
5+ tests = import ./test { inherit haskell; };
76}
test/default.nix+10−11
@@ -9,20 +9,19 @@ let
99 util = callPackage ./util.nix {};
1010
1111in {
12− cabal-simple = callPackage ./cabal-simple { inherit (haskell) mkPkgSet; inherit util; };
13− cabal-sublib = callPackage ./cabal-sublib { inherit (haskell) mkPkgSet; inherit util; };
14− cabal-22 = callPackage ./cabal-22 { inherit (haskell) mkPkgSet; };
15− with-packages = callPackage ./with-packages { inherit (haskell) mkPkgSet; inherit util; };
16− builder-haddock = callPackage ./builder-haddock { inherit (haskell) mkPkgSet; };
17− stack-simple = callPackage ./stack-simple { inherit (haskell) mkStackPkgSet; };
12+ cabal-simple = haskell.callPackage ./cabal-simple { inherit util; };
13+ cabal-sublib = haskell.callPackage ./cabal-sublib { inherit util; };
14+ cabal-22 = haskell.callPackage ./cabal-22 {};
15+ with-packages = haskell.callPackage ./with-packages { inherit util; };
16+ builder-haddock = haskell.callPackage ./builder-haddock {};
17+ stack-simple = haskell.callPackage ./stack-simple {};
1818
1919 # Run unit tests with: nix-instantiate --eval --strict -A unit
2020 # An empty list means success.
21− unit = callPackage ./unit.nix { inherit (haskell) haskellLib; };
21+ unit = haskell.callPackage ./unit.nix {};
2222}
2323
24−## possible test cases
24+## more possible test cases
2525# 1. fully static linking
26−# 2. presence of haddock
27−# 3. cabal 2.4 stuff
28−# 4. multiple libraries in a cabal project
26+# 2. cabal 2.4 stuff
27+# 3. cross-compiling