Fixed GHCJS

This commit is contained in:
Will Fancher
2018-01-18 16:39:15 -05:00
parent 866717d75b
commit fcc8cae88d
6 changed files with 17 additions and 7 deletions

View File

@@ -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 = "";

View File

@@ -1,5 +1,5 @@
{ bootPkgs }:
{ bootPkgs, cabal-install }:
bootPkgs.callPackage ./base.nix {
inherit bootPkgs;
inherit bootPkgs cabal-install;
}

View File

@@ -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";