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 = "";
|
||||
inherit bootGhcjs;
|
||||
inherit (bootGhcjs) version;
|
||||
ghcVersion = bootPkgs.ghc.version;
|
||||
isGhcjs = true;
|
||||
|
||||
enableShared = true;
|
||||
|
@ -133,6 +133,7 @@ in mkDerivation (rec {
|
||||
'';
|
||||
passthru = {
|
||||
inherit bootPkgs;
|
||||
ghcVersion = ghc.version;
|
||||
isCross = true;
|
||||
isGhcjs = true;
|
||||
inherit nodejs ghcjsBoot;
|
||||
|
Loading…
Reference in New Issue
Block a user