@@ -151,11 +151,9 @@ final: prev: {
151151 else compiler-nix-name';
152152 pkg-def = excludeBootPackages compiler-nix-name plan-pkgs.pkgs;
153153 patchesModule = ghcHackagePatches.${compiler-nix-name-with-js-prefix} or {};
154− compilerVersion = final.buildPackages.haskell-nix.compiler.${compiler-nix-name'}.version;
155− package.compiler-nix-name.version = compilerVersion;
154+ package.compiler-nix-name.version = final.buildPackages.haskell-nix.compiler.${compiler-nix-name'}.version;
156155 plan.compiler-nix-name.version = final.buildPackages.haskell-nix.compiler.${(plan-pkgs.pkgs hackage).compiler.nix-name}.version;
157156 withMsg = final.lib.assertMsg;
158− isPatchedGHCJS = final.stdenv.hostPlatform.isGhcjs && builtins.compareVersions compilerVersion "8.10.0.0" >= 0;
159157 in
160158 # Check that the GHC version of the selected compiler matches the one of the plan
161159 assert (withMsg
@@ -177,8 +175,7 @@ final: prev: {
177175 # the plan.
178176 modules = [ { doExactConfig = true; } patchesModule ]
179177 ++ modules
180− ++ (plan-pkgs.modules or [])
181− ++ final.lib.optional isPatchedGHCJS { packages.reflex.flags.fast-weak = true; };
178+ ++ plan-pkgs.modules or [];
182179 inherit extra-hackages;
183180 };
184181