I’ve never attempted to build ghc from source before and am now following this text here: linux · Wiki · Glasgow Haskell Compiler / GHC · GitLab, and am stuck at running nix-shell.
The error I get is the following: error: failed to extract archive (Can't create '/run/user/1000/nix-119655-1/commercialhaskell-all-cabal-hashes-82e253f/yesod-core/1.4.37.2/yesod-core.cabal')