ghcjs: add version to haskellCompilerName
This is needed for some cabal2nix stuff in getting the version. Previously we had left out the version but apparently this can cause problems in some scenarios. /cc @elvishjerricco @peti @ericson2314
This commit is contained in:
parent
a87b177be9
commit
a9400e64e7
@ -48,7 +48,7 @@ let
|
||||
stage1Packages = [];
|
||||
mkStage2 = _: {};
|
||||
|
||||
haskellCompilerName = "ghcjs";
|
||||
haskellCompilerName = "ghcjs-${bootGhcjs.version}";
|
||||
};
|
||||
|
||||
bootGhcjs = haskellLib.justStaticExecutables passthru.bootPkgs.ghcjs;
|
||||
|
@ -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 = "";
|
||||
|
Loading…
Reference in New Issue
Block a user