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-03-23 14:18:21 +00:00
|
|
|
# TODO: switch back to the regular ghcjs repo
|
|
|
|
# when https://github.com/ghcjs/ghcjs/pull/573 is merged.
|
2017-06-05 19:01:26 +01:00
|
|
|
owner = "k0001";
|
2016-11-02 02:04:53 +00:00
|
|
|
repo = "ghcjs";
|
2017-06-05 19:01:26 +01:00
|
|
|
rev = "600015e085a28da601b65a41c513d4a458fcd184";
|
|
|
|
sha256 = "01kirrg0fnfwhllvwgfqjiwzwj4yv4lyig87x61n9jp6y5shzjdx";
|
2016-11-02 02:04:53 +00:00
|
|
|
};
|
2016-11-18 15:13:56 +00:00
|
|
|
ghcjsBootSrc = fetchgit {
|
2017-03-23 14:18:21 +00:00
|
|
|
# TODO: switch back to git://github.com/ghcjs/ghcjs-boot.git
|
|
|
|
# when https://github.com/ghcjs/ghcjs-boot/pull/41 is merged.
|
|
|
|
url = git://github.com/basvandijk/ghcjs-boot.git;
|
|
|
|
rev = "19a3b157ecb807c2224daffda5baecc92b76af35";
|
|
|
|
sha256 = "16sgr8vfr1nx5ljnk8gckgjk70zpa67ix4dbr9aizkwyz41ilfrb";
|
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;
|
2016-11-18 15:13:56 +00:00
|
|
|
}
|