diff --git a/pkgs/development/compilers/ghcjs-ng/default.nix b/pkgs/development/compilers/ghcjs-ng/default.nix index 92211042acd9..025d74bcda04 100644 --- a/pkgs/development/compilers/ghcjs-ng/default.nix +++ b/pkgs/development/compilers/ghcjs-ng/default.nix @@ -42,6 +42,7 @@ let targetPrefix = ""; inherit bootGhcjs; inherit (bootGhcjs) version; + ghcVersion = bootPkgs.ghc.version; isGhcjs = true; enableShared = true; 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;