Skip to content

Windows binary distributions ship with empty package database

The ghcup validation job for my most recent 9.10.1-alpha1 candidate (https://gitlab.haskell.org/ghc/ghcup-ci/-/jobs/1807133) reveals that Windows binary distributions are unserviceable, failing to find any of the boot packages during compilation due to all of the package registration files being empty:

Unpacking to acme-box-0.0.0.0\
+ cd acme-box-0.0.0.0/
+ ghc Setup.hs
[1 of 2] Compiling Main             ( Setup.hs, Setup.o )
Setup.hs:1:1: error: [GHC-87110]
    Could not find module `Prelude'.
    Use -v to see a list of the files searched for.
  |
1 | import Distribution.Simple
  | ^
Setup.hs:1:1: error: [GHC-87110]
    Could not find module `Distribution.Simple'.
    Use -v to see a list of the files searched for.
  |
1 | import Distribution.Simple
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information