summary refs log tree commit diff
path: root/pkgs/development/compilers/ghcjs
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-09-28 12:06:31 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-09-28 12:06:31 -0400
commitd892f1aa90c3a22016d78e3bedefa773dc66879a (patch)
tree7ac942f2b625249464d36ec84aeba978f0fef33e /pkgs/development/compilers/ghcjs
parent5ba8458ebde700ea37c9371fb73a6537b438ac7e (diff)
downloadnixlib-d892f1aa90c3a22016d78e3bedefa773dc66879a.tar
nixlib-d892f1aa90c3a22016d78e3bedefa773dc66879a.tar.gz
nixlib-d892f1aa90c3a22016d78e3bedefa773dc66879a.tar.bz2
nixlib-d892f1aa90c3a22016d78e3bedefa773dc66879a.tar.lz
nixlib-d892f1aa90c3a22016d78e3bedefa773dc66879a.tar.xz
nixlib-d892f1aa90c3a22016d78e3bedefa773dc66879a.tar.zst
nixlib-d892f1aa90c3a22016d78e3bedefa773dc66879a.zip
ghcjs-*: Expose the version of GHC used
This is more meaningful than the GHCJS version for most tasks.
Diffstat (limited to 'pkgs/development/compilers/ghcjs')
-rw-r--r--pkgs/development/compilers/ghcjs/base.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghcjs/base.nix b/pkgs/development/compilers/ghcjs/base.nix
index 34c332d87d91..93e6a47934fc 100644
--- a/pkgs/development/compilers/ghcjs/base.nix
+++ b/pkgs/development/compilers/ghcjs/base.nix
@@ -133,6 +133,7 @@ in mkDerivation (rec {
   '';
   passthru = {
     inherit bootPkgs;
+    ghcVersion = ghc.version;
     isCross = true;
     isGhcjs = true;
     inherit nodejs ghcjsBoot;