Cabal-1.22 keyed library filepaths

Jens Petersen juhpetersen at gmail.com
Mon Jan 19 01:54:34 UTC 2015


Hi,

I see that with Cabal-1.22, library paths are now of the form:

 /usr/lib64/ghc-7.10.0.20141222/direc_3m6Ew9I164U5MIkATLCdb8/
libHSdirec_3m6Ew9I164U5MIkATLCdb8-ghc7.10.0.20141222.so

etc.

Is the 5 character truncation of package names (and no version) necessary?
It makes it pretty hard to see at a glance what package a particular
directory or file belongs to and seems there is no easy way to work out the
package version without referring to the package.conf file/dir.

If possible I would prefer a filepath format like:

 /usr/lib64/ghc-7.10.0.20141222/directory-1.2.1.1_3m6Ew9I164U5MIkATLCdb8/
libHSdirectory-1.2.1.1_3m6Ew9I164U5MIkATLCdb8-ghc7.10.0.20141222.so

Would that be feasible/make sense?

Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20150119/a01c7006/attachment.html>


More information about the cabal-devel mailing list