ghcjs-*: Expose the version of GHC used
This is more meaningful than the GHCJS version for most tasks.
This commit is contained in:
parent
5ba8458ebd
commit
d892f1aa90
@ -42,6 +42,7 @@ let
|
|||||||
targetPrefix = "";
|
targetPrefix = "";
|
||||||
inherit bootGhcjs;
|
inherit bootGhcjs;
|
||||||
inherit (bootGhcjs) version;
|
inherit (bootGhcjs) version;
|
||||||
|
ghcVersion = bootPkgs.ghc.version;
|
||||||
isGhcjs = true;
|
isGhcjs = true;
|
||||||
|
|
||||||
enableShared = true;
|
enableShared = true;
|
||||||
|
@ -133,6 +133,7 @@ in mkDerivation (rec {
|
|||||||
'';
|
'';
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit bootPkgs;
|
inherit bootPkgs;
|
||||||
|
ghcVersion = ghc.version;
|
||||||
isCross = true;
|
isCross = true;
|
||||||
isGhcjs = true;
|
isGhcjs = true;
|
||||||
inherit nodejs ghcjsBoot;
|
inherit nodejs ghcjsBoot;
|
||||||
|
Loading…
Reference in New Issue
Block a user