Skip to content

Don't let configure perform trivial substitutions (#21846)

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/hadrian/configure into master

Hadrian now performs substitutions, especially to generate .cabal files from .cabal.in files. Two benefits:

1. We won't have to re-configure when we modify thing.cabal.in. Hadrian
   will take care of this for us.

2. It paves the way to allow the same package to be configured
   differently by Hadrian in the same session. This will be useful to
   fix #19174: we want to build a stage2 cross-compiler for the host
   platform and a stage1 compiler for the cross target platform in the
   same Hadrian session.

Merge request reports