ghcjs-*: Expose the version of GHC used

This is more meaningful than the GHCJS version for most tasks.
This commit is contained in:
John Ericson 2018-09-28 12:06:31 -04:00
parent 5ba8458ebd
commit d892f1aa90
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ let
targetPrefix = "";
inherit bootGhcjs;
inherit (bootGhcjs) version;
ghcVersion = bootPkgs.ghc.version;
isGhcjs = true;
enableShared = true;

View File

@ -133,6 +133,7 @@ in mkDerivation (rec {
'';
passthru = {
inherit bootPkgs;
ghcVersion = ghc.version;
isCross = true;
isGhcjs = true;
inherit nodejs ghcjsBoot;