Merge pull request #151689 from Gabriel439/gabriella/fix_ghcjs_config.sub

haskell.compiler.ghcjs: Don't use upstream `config.sub`
This commit is contained in:
John Ericson
2021-12-22 12:02:13 -05:00
committed by GitHub
@@ -78,6 +78,11 @@ in stdenv.mkDerivation {
];
dontConfigure = true;
dontInstall = true;
# Newer versions of `config.sub` reject the `js-ghcjs` host string, but the
# older `config.sub` filed vendored within `ghc` still works
dontUpdateAutotoolsGnuConfigScripts = true;
buildPhase = ''
export HOME=$TMP
mkdir $HOME/.cabal