File tree Expand file tree Collapse file tree 3 files changed +2
-26
lines changed Expand file tree Collapse file tree 3 files changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,7 @@ dimension "Nixpkgs version" nixpkgsVersions (nixpkgsName: pinnedNixpkgsSrc:
135
135
# ghc = pkgs.haskell-nix.compiler.${compiler-nix-name};
136
136
# TODO: look into making tools work when cross compiling
137
137
# inherit (build) tools;
138
- } // pkgs . lib . optionalAttrs ( runTests && crossSystemName != "aarch64-multiplatform" ) {
139
- # Tests are broken on aarch64 cross https://github.com/input-output-hk/haskell.nix/issues/513
138
+ } // pkgs . lib . optionalAttrs runTests {
140
139
inherit ( build ) tests ;
141
140
} )
142
141
# GHCJS builds its own template haskell runner.
Original file line number Diff line number Diff line change @@ -18,13 +18,6 @@ final: prev:
18
18
# iserv-proxy needs to come from the buildPackages, as it needs to run on the
19
19
# build host.
20
20
inherit ( final . haskell-nix . iserv-proxy-exes . ${ config . compiler . nix-name } ) iserv-proxy iserv-proxy-interpreter ;
21
- # we need to use openssl.bin here, because the .dll's are in the .bin expression.
22
- extra-test-libs = [
23
- # pkgs.rocksdb
24
- pkgs . openssl . bin
25
- pkgs . libffi
26
- pkgs . gmp
27
- ] ;
28
21
} // {
29
22
# we can perform testing of cross compiled test-suites by using wine.
30
23
# Therefore let's enable doCrossCheck here!
Original file line number Diff line number Diff line change 7
7
, iserv-proxy
8
8
, iserv-proxy-interpreter
9
9
, gmp
10
- , extra-test-libs ? [ ]
11
10
, buildPlatform
12
11
, hostPlatform
13
12
, ...
47
46
'' ;
48
47
testWrapper = lib . optional isLinuxCross "${ qemuTestWrapper } /bin/test-wrapper" ;
49
48
50
- preCheck = lib . optionalString isLinuxCross ''
51
- echo "================================================================="
52
- echo "RUNNING TESTS for $name via qemu-${ qemuSuffix } "
53
- echo "================================================================="
54
- echo "Copying extra test libraries"
55
- for p in ${ lib . concatStringsSep " " extra-test-libs } ; do
56
- find "$p" -iname '*.so*' -exec cp {} . \;
57
- done
58
- '' ;
59
- postCheck = lib . optionalString isLinuxCross ''
60
- echo "================================================================="
61
- echo "END RUNNING TESTS"
62
- echo "================================================================="
63
- '' ;
64
-
65
49
enableShared = lib . mkDefault ( ! isLinuxCross ) ;
66
50
67
- in { inherit preCheck postCheck configureFlags setupBuildFlags testWrapper enableShared ; }
51
+ in { inherit configureFlags setupBuildFlags testWrapper enableShared ; }
You can’t perform that action at this time.
0 commit comments