`ghcup whereis ghc` reports incorrect binnary locations for non-standard versions (e.g. `8.10.7-p1`)
$ ghcup whereis ghc 8.10.7-dyn
/home/hasufell/.ghcup/ghc/8.10.7-dyn/bin/ghc-8.10.7-dyn
$ ls -lah /home/hasufell/.ghcup/ghc/8.10.7-dyn/bin/
drwxr-xr-x hasufell hasufell 4 KB Sat Nov 20 20:43:45 2021 .
drwxr-xr-x hasufell hasufell 4 KB Sat Nov 20 20:44:07 2021 ..
lrwxrwxrwx hasufell hasufell 10 B Sat Nov 20 20:43:45 2021 ghc ⇒ ghc-8.10.7
.rwxr-xr-x hasufell hasufell 368 B Sat Nov 20 20:43:45 2021 ghc-8.10.7
lrwxrwxrwx hasufell hasufell 14 B Sat Nov 20 20:43:45 2021 ghc-pkg ⇒ ghc-pkg-8.10.7
.rwxr-xr-x hasufell hasufell 400 B Sat Nov 20 20:43:45 2021 ghc-pkg-8.10.7
lrwxrwxrwx hasufell hasufell 11 B Sat Nov 20 20:43:45 2021 ghci ⇒ ghci-8.10.7
.rwxr-xr-x hasufell hasufell 88 B Sat Nov 20 20:43:45 2021 ghci-8.10.7
lrwxrwxrwx hasufell hasufell 18 B Sat Nov 20 20:43:45 2021 haddock ⇒ haddock-ghc-8.10.7
.rwxr-xr-x hasufell hasufell 359 B Sat Nov 20 20:43:45 2021 haddock-ghc-8.10.7
.rwxr-xr-x hasufell hasufell 332 B Sat Nov 20 20:43:45 2021 hp2ps
.rwxr-xr-x hasufell hasufell 330 B Sat Nov 20 20:43:45 2021 hpc
.rwxr-xr-x hasufell hasufell 1 KB Sat Nov 20 20:43:45 2021 hsc2hs
lrwxrwxrwx hasufell hasufell 13 B Sat Nov 20 20:43:45 2021 runghc ⇒ runghc-8.10.7
.rwxr-xr-x hasufell hasufell 377 B Sat Nov 20 20:43:45 2021 runghc-8.10.7
lrwxrwxrwx hasufell hasufell 6 B Sat Nov 20 20:43:45 2021 runhaskell ⇒ runghc
Edited by Julian Ospald