haskell-CI / haskell-ci

Scripts and instructions for using CI services (e.g. Travis CI or Appveyor) with multiple GHC configurations
GNU General Public License v3.0
437 stars 71 forks source link

GHC 8.0.2 package doesn't create a 'runhaskell' symlink in /opt/ghc/bin #69

Open 23Skidoo opened 7 years ago

23Skidoo commented 7 years ago

Not sure if this is the right place to report, but the ghc-8.0.2 package from the Ubuntu PPA doesn't set up a runhaskell symlink in /opt/ghc/bin, only in opt/ghc/8.0.2/bin:

$ ls /opt/ghc/bin 
ghc@  ghc-8.0.2@  ghci@  ghci-8.0.2@  ghc-pkg@  ghc-pkg-8.0.2@  haddock@  haddock-ghc-8.0.2@  runghc@  runghc-8.0.2@
$ ls /opt/ghc/8.0.2/bin 
ghc@        ghci@        ghc-pkg@        haddock@            hp2ps*  hsc2hs*  runghc-8.0.2*
ghc-8.0.2*  ghci-8.0.2*  ghc-pkg-8.0.2*  haddock-ghc-8.0.2*  hpc*    runghc@  runhaskell@

hsc2hs and some other ones are also missing from /opt/ghc/bin, which is probably also a bug.

phadej commented 7 years ago

hsc2hs indeed could be postfixed as haddock etc. yet if you add build-tool: hsc2hs (which you should), cabal new-build will work, even hsc2hs isn't in $PATH

23Skidoo commented 7 years ago

IIRC Cabal follows the ghc-8.0.2 symlink to find the bin directory, so hsc2hs doesn't have to be in PATH.

hvr commented 7 years ago

@23Skidoo runhaskell was definitely an oversight; thanks for reporting (yes, this is the right place :-))