haskell: Expose the package set used to build each GHC, where possible

Tested to not change hashes
This commit is contained in:
John Ericson
2016-02-21 10:16:13 -08:00
parent e6d3a4e7d1
commit 114cd6765d
7 changed files with 59 additions and 20 deletions
+7 -3
View File
@@ -20,7 +20,7 @@
, ghcjs-prim
, regex-posix
, ghc, gmp
, bootPkgs, gmp
, jailbreak-cabal
, runCommand
@@ -41,8 +41,11 @@
, ghcjsBoot ? import ./ghcjs-boot.nix { inherit fetchgit runCommand; }
, shims ? import ./shims.nix { inherit fetchFromGitHub; }
}:
let version = "0.2.0"; in
mkDerivation (rec {
let
inherit (bootPkgs) ghc;
version = "0.2.0";
in mkDerivation (rec {
pname = "ghcjs";
inherit version;
src = fetchFromGitHub {
@@ -114,6 +117,7 @@ mkDerivation (rec {
--with-gmp-libraries ${gmp}/lib
'';
passthru = {
inherit bootPkgs;
isGhcjs = true;
nativeGhc = ghc;
inherit nodejs ghcjsBoot;