Merge pull request #47487 from obsidiansystems/ghcjs-ghc-version

ghcjs-*: Expose the version of GHC used
This commit is contained in:
John Ericson 2018-09-28 12:33:28 -04:00 committed by GitHub
commit 6514142348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;