Hadrian-built GHC cannot locate `unlit`
When trying to compile a Literate Haskell source with a Hadrian-built GHC, compilation fails due to GHC not finding the
How to reproduce:
- Compile GHC using the default Hadrian
- Create a minimal LHS file, e.g.
echo '> main = return ()' > test.lhs
- Compile the LHS file with the in-place GHC:
This fails with something like:
ghc: could not execute: $GHC_SRC_TREE/_build/stage1/lib/bin/unlit
unlit binary is in
$GHC_SRC_TREE/_build/stage1/bin/unlit. Considering how
make-built GHC works fine, this seems to be a misconfiguration in the Hadrian build system.