2016-11-18 16:13:56 +01:00
|
|
|
{ fetchgit, fetchFromGitHub, bootPkgs }:
|
2016-11-02 03:04:53 +01:00
|
|
|
|
2016-11-18 16:13:56 +01:00
|
|
|
bootPkgs.callPackage ./base.nix {
|
2016-11-02 03:04:53 +01:00
|
|
|
version = "0.2.020161101";
|
|
|
|
|
2016-11-18 16:13:56 +01:00
|
|
|
# deprecated on HEAD, directly included in the distribution
|
|
|
|
ghcjs-prim = null;
|
|
|
|
inherit bootPkgs;
|
|
|
|
|
|
|
|
ghcjsSrc = fetchFromGitHub {
|
2016-11-02 03:04:53 +01:00
|
|
|
owner = "ghcjs";
|
|
|
|
repo = "ghcjs";
|
2017-01-27 01:45:50 +01:00
|
|
|
rev = "2dc14802e78d7d9dfa35395d5dbfc9c708fb83e6";
|
|
|
|
sha256 = "0cvmapbrwg0h1pbz648isc2l84z694ylnfm8ncd1g4as28lmj0pz";
|
2016-11-02 03:04:53 +01:00
|
|
|
};
|
2016-11-18 16:13:56 +01:00
|
|
|
ghcjsBootSrc = fetchgit {
|
|
|
|
url = git://github.com/ghcjs/ghcjs-boot.git;
|
|
|
|
rev = "b000a4f4619b850bf3f9a45c9058f7a51e7709c8";
|
|
|
|
sha256 = "164v0xf33r6mnympp6s70v8j6g7ccyg7z95gjp43bq150ppvisbq";
|
|
|
|
fetchSubmodules = true;
|
2016-11-02 03:04:53 +01:00
|
|
|
};
|
|
|
|
|
2016-11-18 16:13:56 +01: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 10:13:09 +01:00
|
|
|
stage2 = import ./head_stage2.nix;
|
2016-11-18 16:13:56 +01:00
|
|
|
}
|