2016-11-18 15:13:56 +00:00
|
|
|
{ fetchgit, fetchFromGitHub, bootPkgs }:
|
2016-11-02 02:04:53 +00:00
|
|
|
|
2016-11-18 15:13:56 +00:00
|
|
|
bootPkgs.callPackage ./base.nix {
|
2017-05-09 16:59:28 +01:00
|
|
|
version = "0.2.020170323";
|
2016-11-02 02:04:53 +00:00
|
|
|
|
2016-11-18 15:13:56 +00:00
|
|
|
inherit bootPkgs;
|
|
|
|
|
|
|
|
ghcjsSrc = fetchFromGitHub {
|
2017-09-23 15:02:52 +01:00
|
|
|
owner = "ghcjs";
|
2016-11-02 02:04:53 +00:00
|
|
|
repo = "ghcjs";
|
2017-09-23 15:02:52 +01:00
|
|
|
rev = "2b3759942fb5b2fc1a58d314d9b098d4622fa6b6";
|
|
|
|
sha256 = "15asapg0va8dvcdycsx8dgk4xcpdnhml4h31wka6vvxf5anzz8aw";
|
2016-11-02 02:04:53 +00:00
|
|
|
};
|
2016-11-18 15:13:56 +00:00
|
|
|
ghcjsBootSrc = fetchgit {
|
2017-09-23 15:02:52 +01:00
|
|
|
url = git://github.com/ghcjs/ghcjs-boot.git;
|
|
|
|
rev = "106e144cca6529a1b9612c11aea5d6ef65b96745";
|
|
|
|
sha256 = "0gxg8iiwvm93x1dwhxypczn9qiz4m1xvj8i7cf4snfdy2jdyhi5l";
|
2016-11-18 15:13:56 +00:00
|
|
|
fetchSubmodules = true;
|
2016-11-02 02:04:53 +00:00
|
|
|
};
|
|
|
|
|
2016-11-18 15:13:56 +00:00
|
|
|
shims = import ./head_shims.nix { inherit fetchFromGitHub; };
|
|
|
|
stage1Packages = [
|
|
|
|
"array"
|
|
|
|
"base"
|
|
|
|
"binary"
|
|
|
|
"bytestring"
|
|
|
|
"containers"
|
|
|
|
"deepseq"
|
|
|
|
"directory"
|
|
|
|
"filepath"
|
|
|
|
"ghc-boot"
|
|
|
|
"ghc-boot-th"
|
|
|
|
"ghc-prim"
|
|
|
|
"ghci"
|
|
|
|
"ghcjs-prim"
|
|
|
|
"ghcjs-th"
|
|
|
|
"integer-gmp"
|
|
|
|
"pretty"
|
|
|
|
"primitive"
|
|
|
|
"process"
|
|
|
|
"rts"
|
|
|
|
"template-haskell"
|
|
|
|
"time"
|
|
|
|
"transformers"
|
|
|
|
"unix"
|
|
|
|
];
|
2016-11-21 09:13:09 +00:00
|
|
|
stage2 = import ./head_stage2.nix;
|
2017-10-08 10:26:25 +01:00
|
|
|
|
|
|
|
patches = [ ./ghcjs-head.patch ];
|
2016-11-18 15:13:56 +00:00
|
|
|
}
|