[arch-haskell] Destination folder of Haskell modules

Magnus Therning magnus at therning.org
Mon Dec 13 20:25:51 CET 2010


On 13/12/10 16:57, Rémy Oudompheng wrote:
> While playing with Haskell modules currently in [community], I
> discovered that several of them, like haskell-x11, get installed to
>   /usr/lib/ghc-$(GHC_VERSION)/site-local/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
> whereas cabal2arch PKGBUILDs use the default directory
>   /usr/lib/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/ghc-$(GHC_VERSION)
>
> The latter hierarchy looks highly confusing to me, as for example
> gtk2hs-glib gets installed in /usr/lib/glib-0.12.0, not to be confused
> with the glib2 package which installs files in /usr/lib/glib-2.0.
>
> So the first directory hierarchy looks much more logical to me. It is
> obtained by using the option
>   --libsubdir=\$compiler/site-local/\$pkgid
> in the "runhaskell Setup configure" command.

That looks like a worthwhile change to make to cabal2arch.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20101213/7c3c59a1/attachment.pgp>


More information about the arch-haskell mailing list