162
162
# All tests.
163
163
allTests = {
164
164
cabal-simple = callTest ./cabal-simple { inherit util compiler-nix-name ; } ;
165
+ cabal-simple-debug = callTest ./cabal-simple-debug { inherit util compiler-nix-name ; } ;
165
166
cabal-simple-prof = callTest ./cabal-simple-prof { inherit util compiler-nix-name ; } ;
166
167
cabal-sublib = callTest ./cabal-sublib { inherit util compiler-nix-name ; } ;
167
168
with-packages = callTest ./with-packages { inherit util ; } ;
189
190
hls-stack = callTest ./haskell-language-server/stack.nix { inherit compiler-nix-name ; } ;
190
191
cabal-hpack = callTest ./cabal-hpack { inherit util compiler-nix-name ; } ;
191
192
index-state = callTest ./index-state { inherit compiler-nix-name ; } ;
193
+ lookup-sha256 = callTest ./lookup-sha256 { inherit compiler-nix-name ; } ;
194
+ # fully-static = callTest ./fully-static { inherit (pkgs) buildPackages; };
192
195
193
196
unit = unitTests ;
194
197
} // lib . optionalAttrs ( ! stdenv . hostPlatform . isGhcjs && ! stdenv . hostPlatform . isWindows ) {
@@ -200,26 +203,17 @@ let
200
203
# ReferenceError: h$hs_clock_darwin_gettime is not defined
201
204
# https://github.com/input-output-hk/haskell.nix/issues/925
202
205
cabal-22 = callTest ./cabal-22 { inherit util compiler-nix-name ; } ;
203
- } // lib . optionalAttrs ( ! stdenv . hostPlatform . isGhcjs ) {
204
206
# These do not work on ghcjs because it needs zlib.
205
207
coverage = callTest ./coverage { inherit compiler-nix-name ; } ;
206
208
coverage-golden = callTest ./coverage-golden { inherit compiler-nix-name ; } ;
207
209
coverage-no-libs = callTest ./coverage-no-libs { inherit compiler-nix-name ; } ;
208
210
snapshots = callTest ./snapshots { } ;
209
- } // lib . optionalAttrs ( ! stdenv . hostPlatform . isGhcjs && builtins . compareVersions pkgs . buildPackages . haskell-nix . compiler . ${ compiler-nix-name } . version "8.10" < 0 ) {
210
- # Tha version of pandoc used in this test does not build with ghcjs or ghc 8.10 (lookup-sha256 and fully-static build pandoc)
211
- lookup-sha256 = callTest ./lookup-sha256 { inherit compiler-nix-name ; } ;
212
- # fully-static = callTest ./fully-static { inherit (pkgs) buildPackages; };
213
211
} // lib . optionalAttrs ( ! pkgs . haskell-nix . haskellLib . isCrossHost ) {
214
212
# Haddock is not included with cross compilers currently
215
213
sublib-docs = callTest ./sublib-docs { inherit util compiler-nix-name ; } ;
216
214
# githash runs git from TH code and this needs a cross compiled git exe
217
215
# to work correctly. Cross compiling git is currently brocken.
218
216
githash = haskell-nix . callPackage ./githash { inherit compiler-nix-name ; testSrc = testSrcWithGitDir ; } ;
219
- } // lib . optionalAttrs (
220
- stdenv . hostPlatform . isLinux && ! pkgs . haskell-nix . haskellLib . isCrossHost && ! stdenv . hostPlatform . isMusl
221
- && ! ( __elem compiler-nix-name [ "ghc865" "ghc884" ] ) ) {
222
- cabal-simple-debug = callTest ./cabal-simple-debug { inherit util compiler-nix-name ; } ;
223
217
} ;
224
218
225
219
# This is the same as allTests, but filter out all the key/vaules from the
0 commit comments