I see the kinds of errors documented by @fpletz quite frequently.
Generally, without many repeated attempts, I’m unable to use the haskell tool, stack, to instantiate a nix shell with all necessary dependencies.
Nodejs- and ghc-related packages, in particular, trigger these kinds of errors.