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

pkgsCross.ghcjs.haskellPackages.ghc: don't revert edited config.sub
This commit is contained in:
maralorn 2023-01-07 22:26:15 +01:00 committed by GitHub
commit 747e2e43f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ]