Merge pull request #42023 from obsidiansystems/ghcjs-compiler-name

ghcjs: add version to haskellCompilerName
This commit is contained in:
Matthew Justin Bauer 2018-06-14 12:35:22 -04:00 committed by GitHub
commit 4c7aae7026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ let
stage1Packages = [];
mkStage2 = _: {};
haskellCompilerName = "ghcjs";
haskellCompilerName = "ghcjs-${bootGhcjs.version}";
};
bootGhcjs = haskellLib.justStaticExecutables passthru.bootPkgs.ghcjs;

View file

@ -174,7 +174,7 @@ in mkDerivation (rec {
isGhcjs = true;
inherit nodejs ghcjsBoot;
socket-io = pkgs.nodePackages."socket.io";
haskellCompilerName = "ghcjs";
haskellCompilerName = "ghcjs-${version}";
# let us assume ghcjs is never actually cross compiled
targetPrefix = "";