Unverified Commit 747e2e43 authored by maralorn's avatar maralorn Committed by GitHub
Browse files

Merge pull request #209522 from sternenseemann/ghc-js-backend-fix-config-sub-rollback

pkgsCross.ghcjs.haskellPackages.ghc: don't revert edited config.sub
parents 5224a40d 0aa01bef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -353,6 +353,8 @@ stdenv.mkDerivation ({
  '';

  ${if targetPlatform.isGhcjs then "configureScript" else null} = "emconfigure ./configure";
  # GHC currently ships an edited config.sub so ghcjs is accepted which we can not rollback
  ${if targetPlatform.isGhcjs then "dontUpdateAutotoolsGnuConfigScripts" else null} = true;

  # TODO(@Ericson2314): Always pass "--target" and always prefix.
  configurePlatforms = [ "build" "host" ]