Skip to content

ghcup alpine 8.10.1 failes with `invalid argument`

While GHC 8.8.3 succeeds, I get reproducable failure when installing GHC 8.10.1 in docker alpine:

Step 12/29 : RUN ~/.ghcup/bin/ghcup install $ghc_version
 ---> Running in 16981a96ba61
[ Warn  ] New GHC version available: 8.10.1. To upgrade, run 'ghcup install 8.10.1'
[ Info  ] downloading: https://downloads.haskell.org/~ghc/8.10.1/ghc-8.10.1-x86_64-alpine3.10-linux-integer-simple.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  135M  100  135M    0     0  4350k      0  0:00:31  0:00:31 --:--:-- 4353k
[ Info  ] verifying digest of: ghc-8.10.1-x86_64-alpine3.10-linux-integer-simple.tar.xz
[ Info  ] Unpacking: ghc-8.10.1-x86_64-alpine3.10-linux-integer-simple.tar.xz to /tmp/ghcup-iJaOIh
[ Info  ] Installing GHC (this may take a while)
ghcup: /root/.ghcup/ghc/8.10.1/bin/ghc: readSymbolicLink: invalid argument (Invalid argument)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information