On Wed, Jun 02, 2021 at 07:06:59PM +0000, Simon Peyton Jones via ghc-devs wrote: > Dear devs > I wanted to install GHC 8.10 on my WSL2 (Windows Subsystem for Linux) > computer. [...] > ghc-pkg: Couldn't open database > /home/simonpj/.ghcup/ghc/8.10.4/lib/ghc-8.10.4/package.conf.d for > modification: {handle: > /home/simonpj/.ghcup/ghc/8.10.4/lib/ghc-8.10.4/package.conf.d/package.cache.lock}: > hLock: invalid argument (Invalid argument)
Turns out it was actually WSL1 and upgrading to WSL2 resolved the problem. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs