haskell: Expose the package set used to build each GHC, where possible
Tested to not change hashes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user