Skip to content

[hadrian] stack dependencies build broken

Commit 381c3ae31b68019177f1cd20cb4da2f9d3b7d6c6 "bump Cabal submodule" breaks the stack/hadrian build. Steps to reproduce:

git clone https://gitlab.haskell.org/ghc/ghc.git
cd ghc
git submodule update --init --recursive
stack build --stack-yaml=hadrian/stack.yaml --only-dependencies

The error produced reads:

Setup.lhs:48:22: error:
        Variable not in scope:
          rawSystemProgramConf
            :: Distribution.Verbosity.Verbosity -> t -> ProgramDb -> t1
       |
    48 |   let runProgram p = rawSystemProgramConf (fromFlagOrDefault normal (buildVerbosity flags))
       |                      ^^^^^^^^^^^^^^^^^^^^
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information