Configure checkPhase for ghcHEAD
The testsuite requires python3 so we have to add it as a dependency.
This commit is contained in:
parent
2876b31ed5
commit
0cd5ebb48f
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchgit, bootPkgs, perl, gmp, ncurses, libiconv, binutils, coreutils
|
{ stdenv, fetchgit, bootPkgs, perl, gmp, ncurses, libiconv, binutils, coreutils
|
||||||
, autoconf, automake, happy, alex, crossSystem, selfPkgs, cross ? null
|
, autoconf, automake, happy, alex, python3, crossSystem, selfPkgs, cross ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (bootPkgs) ghc;
|
inherit (bootPkgs) ghc;
|
||||||
|
|
||||||
commonBuildInputs = [ ghc perl autoconf automake happy alex ];
|
commonBuildInputs = [ ghc perl autoconf automake happy alex python3 ];
|
||||||
|
|
||||||
version = "8.1.20161115";
|
version = "8.1.20161115";
|
||||||
|
|
||||||
@ -52,6 +52,8 @@ in stdenv.mkDerivation (rec {
|
|||||||
# that in turn causes GHCi to abort
|
# that in turn causes GHCi to abort
|
||||||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
|
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
|
||||||
|
|
||||||
|
checkTarget = "test";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
paxmark m $out/lib/${name}/bin/{ghc,haddock}
|
paxmark m $out/lib/${name}/bin/{ghc,haddock}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user