forked from mirrors/nixpkgs
Fixed GHCJS
This commit is contained in:
parent
866717d75b
commit
fcc8cae88d
|
@ -174,6 +174,7 @@ in mkDerivation (rec {
|
|||
isGhcjs = true;
|
||||
inherit nodejs ghcjsBoot;
|
||||
socket-io = pkgs.nodePackages."socket.io";
|
||||
haskellCompilerName = "ghcjs";
|
||||
|
||||
# let us assume ghcjs is never actually cross compiled
|
||||
targetPrefix = "";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ bootPkgs }:
|
||||
{ bootPkgs, cabal-install }:
|
||||
|
||||
bootPkgs.callPackage ./base.nix {
|
||||
inherit bootPkgs;
|
||||
inherit bootPkgs cabal-install;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ fetchgit, fetchFromGitHub, bootPkgs }:
|
||||
{ fetchgit, fetchFromGitHub, bootPkgs, cabal-install }:
|
||||
|
||||
bootPkgs.callPackage ./base.nix {
|
||||
version = "0.2.020170323";
|
||||
|
||||
inherit bootPkgs;
|
||||
inherit bootPkgs cabal-install;
|
||||
|
||||
ghcjsSrc = fetchFromGitHub {
|
||||
owner = "ghcjs";
|
||||
|
|
|
@ -946,4 +946,7 @@ self: super: {
|
|||
# Add support for https://github.com/haskell-hvr/multi-ghc-travis.
|
||||
multi-ghc-travis = self.callPackage ../tools/haskell/multi-ghc-travis { ShellCheck = self.ShellCheck_0_4_6; };
|
||||
|
||||
# https://github.com/yesodweb/Shelly.hs/issues/162
|
||||
shelly = dontCheck super.shelly;
|
||||
|
||||
}
|
||||
|
|
|
@ -68,4 +68,8 @@ self: super: {
|
|||
# inline-c > 0.5.6.0 requires template-haskell >= 2.12
|
||||
inline-c = super.inline-c_0_5_6_1;
|
||||
inline-c-cpp = super.inline-c-cpp_0_1_0_0;
|
||||
|
||||
# Newer versions require GHC 8.2.
|
||||
haddock-api = self.haddock-api_2_17_4;
|
||||
haddock = self.haddock_2_17_5;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, newScope, stdenv, buildPlatform, targetPlatform }:
|
||||
{ pkgs, lib, newScope, stdenv, buildPlatform, targetPlatform, cabal-install }:
|
||||
|
||||
let
|
||||
# These are attributes in compiler and packages that don't support integer-simple.
|
||||
|
@ -91,10 +91,12 @@ in rec {
|
|||
selfPkgs = packages.ghcHEAD;
|
||||
};
|
||||
ghcjs = packages.ghc7103.callPackage ../development/compilers/ghcjs {
|
||||
bootPkgs = packages.ghc821Binary;
|
||||
bootPkgs = packages.ghc7103;
|
||||
inherit cabal-install;
|
||||
};
|
||||
ghcjsHEAD = packages.ghc802.callPackage ../development/compilers/ghcjs/head.nix {
|
||||
bootPkgs = packages.ghc821Binary;
|
||||
bootPkgs = packages.ghc802;
|
||||
inherit cabal-install;
|
||||
};
|
||||
ghcHaLVM240 = callPackage ../development/compilers/halvm/2.4.0.nix rec {
|
||||
bootPkgs = packages.ghc7103Binary;
|
||||
|
|
Loading…
Reference in a new issue