9.4.1 does not compile via make like 9.4.1-rc1 did
Summary
I tried to update the ghc expression in nixpkgs from 9.4.1-rc1 to 9.4.1. The build errors after about 10 minutes.
Steps to reproduce
See https://github.com/NixOS/nixpkgs/pull/185739/files
The error message is:
ghc> GHC error in desugarer lookup in Data.IntSet.Internal:
ghc> Failed to load interface for ‘Language.Haskell.TH.Lib.Internal’
ghc> Perhaps you haven't installed the profiling libraries for package ‘template-haskell’?
ghc> Use -v (or `:set -v` in ghci) to see a list of the files searched for.
ghc> ghc-stage1: panic! (the 'impossible' happened)
ghc> GHC version 9.4.1:
ghc> initDs
ghc>
ghc> Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
ghc>
ghc> make[1]: *** [libraries/containers/containers/ghc.mk:4: libraries/containers/containers/dist-install/build/Data/IntSet/Internal.p_o] Error 1
ghc> make[1]: *** Waiting for unfinished jobs....
ghc> GHC error in desugarer lookup in Data.Set.Internal:
ghc> Failed to load interface for ‘Language.Haskell.TH.Lib.Internal’
ghc> Perhaps you haven't installed the profiling libraries for package ‘template-haskell’?
ghc> Use -v (or `:set -v` in ghci) to see a list of the files searched for.
ghc> ghc-stage1: panic! (the 'impossible' happened)
ghc> GHC version 9.4.1:
ghc> initDs
ghc>
ghc> Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
ghc>
ghc> make[1]: *** [libraries/containers/containers/ghc.mk:4: libraries/containers/containers/dist-install/build/Data/Set/Internal.p_o] Error 1
ghc> GHC error in desugarer lookup in Data.Sequence.Internal:
ghc> Failed to load interface for ‘Language.Haskell.TH.Lib.Internal’
ghc> Perhaps you haven't installed the profiling libraries for package ‘template-haskell’?
ghc> Use -v (or `:set -v` in ghci) to see a list of the files searched for.
ghc> ghc-stage1: panic! (the 'impossible' happened)
ghc> GHC version 9.4.1:
ghc> initDs
ghc>
ghc> Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
ghc>
ghc> make[1]: *** [libraries/containers/containers/ghc.mk:4: libraries/containers/containers/dist-install/build/Data/Sequence/Internal.p_o] Error 1
ghc> make: *** [Makefile:128: all] Error 2
Environment
- GHC version used: 9.4.1
Optional:
- Operating System: nixos
- System Architecture: x86_64