Skip to content

should install ghc-pkg with versioned name again

The build system has always installed ghc and ghc-pkg as a link to ghc-x.y and ghc-pkg-x.y on unix systems. In the current ghc-6.10 builds this is only done for ghc and ghci, not for ghc-pkg. It should be done for both.

It's very useful for people who install multiple versions of ghc simulataniously. Also cabal expects to find ghc-pkg with a corresponding name to ghc. If you specify cabal install -w ghc-6.10.1 then it will look for ghc-6.10.1 on the path and then look for ghc-pkg-6.10.1 in the same location.

Trac metadata
Trac field Value
Version 6.9
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
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