haskell.compiler.ghcjs86: Bump ghc-8.6 branch, fix build.
This commit is contained in:
parent
b5344ae807
commit
348656cea8
5 changed files with 12 additions and 9 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
let inherit (haskellLib) doJailbreak dontHaddock;
|
||||
in self: super: {
|
||||
ghc-api-ghcjs = super.ghc-api-ghcjs.override
|
||||
{
|
||||
happy = self.happy_1_19_5;
|
||||
};
|
||||
haddock-library-ghcjs = doJailbreak super.haddock-library-ghcjs;
|
||||
haddock-api-ghcjs = doJailbreak (dontHaddock super.haddock-api-ghcjs);
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"url": "https://github.com/ghcjs/ghcjs",
|
||||
"rev": "75c61af32d73def4409d1fe7b64659c1d28cd075",
|
||||
"sha256": "18pixn6xdz6qp941yhxfnmwi463jnpskmg473lv07vvgy4hpgjhj",
|
||||
"rev": "e87195eaa2bc7e320e18cf10386802bc90b7c874",
|
||||
"sha256": "02mwkf7aagxqi142gcmq048244apslrr72p568akcab9s0fn2gvy",
|
||||
"fetchSubmodules": true
|
||||
}
|
||||
|
|
|
@ -59,20 +59,21 @@
|
|||
}) {};
|
||||
|
||||
ghc-api-ghcjs = callPackage
|
||||
({ mkDerivation, array, base, binary, bytestring, containers
|
||||
({ mkDerivation, alex, array, base, binary, bytestring, containers
|
||||
, deepseq, directory, filepath, ghc-boot, ghc-boot-th, ghc-heap
|
||||
, ghci-ghcjs, hpc, process, stdenv, template-haskell-ghcjs
|
||||
, ghci-ghcjs, happy, hpc, process, stdenv, template-haskell-ghcjs
|
||||
, terminfo, time, transformers, unix
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "ghc-api-ghcjs";
|
||||
version = "8.6.2";
|
||||
version = "8.6.5";
|
||||
src = configuredSrc + /lib/ghc-api-ghcjs;
|
||||
libraryHaskellDepends = [
|
||||
array base binary bytestring containers deepseq directory filepath
|
||||
ghc-boot ghc-boot-th ghc-heap ghci-ghcjs hpc process
|
||||
template-haskell-ghcjs terminfo time transformers unix
|
||||
];
|
||||
libraryToolDepends = [ alex happy ];
|
||||
homepage = "http://www.haskell.org/ghc/";
|
||||
description = "The GHC API (customized for GHCJS)";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
|
@ -107,7 +108,7 @@
|
|||
base binary bytestring containers ghc-prim ghci-ghcjs
|
||||
template-haskell-ghcjs
|
||||
];
|
||||
homepage = "https://github.com/ghcjs";
|
||||
homepage = "http://github.com/ghcjs";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
}) {};
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{ haskellLib, alex, happy }:
|
||||
{ haskellLib }:
|
||||
|
||||
let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak;
|
||||
in self: super: {
|
||||
ghc-api-ghcjs = addBuildTools super.ghc-api-ghcjs [alex happy];
|
||||
ghcjs = dontHaddock (appendConfigureFlag (doJailbreak super.ghcjs) "-fno-wrapper-install");
|
||||
haddock-library-ghcjs = dontHaddock super.haddock-library-ghcjs;
|
||||
system-fileio = doJailbreak super.system-fileio;
|
||||
|
|
|
@ -34,7 +34,6 @@ let
|
|||
|
||||
(callPackage ./common-overrides.nix {
|
||||
inherit haskellLib;
|
||||
inherit (bootPkgs) alex happy;
|
||||
})
|
||||
ghcjsDepOverrides
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue