Skip to content

runghc-<version> does not call ghc of the same version

When I ran runghc-7.6.3, it actually executed "/usr/local/bin/ghc" which points to ghc-7.8.2.

The offending line is inside the runghc-<version> script:

exec "$executablename" -f "$bindir/ghc" ${1+"$@"}

Which should be:

exec "$executablename" -f "$bindir/ghc-<version>" ${1+"$@"}
Trac metadata
Trac field Value
Version 7.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information