Skip to content

Commit

Permalink
Merge pull request #47488 from obsidiansystems/ghcjs-ghc-version
Browse files Browse the repository at this point in the history
ghcjs-*: Expose the version of GHC used
  • Loading branch information
Ericson2314 committed Sep 28, 2018
2 parents 1e9f50f + d892f1a commit aab182e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/ghcjs-ng/default.nix
Expand Up @@ -42,6 +42,7 @@ let
targetPrefix = "";
inherit bootGhcjs;
inherit (bootGhcjs) version;
ghcVersion = bootPkgs.ghc.version;
isGhcjs = true;

enableShared = true;
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/compilers/ghcjs/base.nix
Expand Up @@ -133,6 +133,7 @@ in mkDerivation (rec {
'';
passthru = {
inherit bootPkgs;
ghcVersion = ghc.version;
isCross = true;
isGhcjs = true;
inherit nodejs ghcjsBoot;
Expand Down

0 comments on commit aab182e

Please sign in to comment.