[gobolinux-devel] Enhance Compile to support Haskell Cabal builds

quick at sparq.org quick at sparq.org
Thu Apr 10 19:01:53 NZST 2008


Attached is a patch that will upgrade Compile/MakeRecipe to support the Cabal 
build/library system (http://hackage.haskell.org/cabal) used for Haskell 
(GHC).  This performs the build using the standard Haskell methodology, 
registering the results to make it available for import in Haskell programs.  
This also allows the easy reference to the Hackage library database (http://
hackage.haskell.org/) for Haskell.

No management of the local Cabal database is made beyond the initial 
registration; specifically DisableProgram, SymlinkProgram, and RemoveProgram 
will require corresponding manual modifications of the database (e.g. via ghc-
pkg), but installation and upgrades of packages are handled quite nicely.

I have a number of local Cabal-based recipes to submit if this patch (or a form 
of it) is accepted; I'd like to add the accepting version of Compile as a 
Dependency for those packages, so I haven't submitted them yet, but I have 
attached an example to this email.

Regards,
  -KQ

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.10.2+cabal.patch
Type: application/octet-stream
Size: 2635 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20080410/b6b8712c/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Haskell-X11--1.2.2--recipe.tar.bz2
Type: application/bzip2
Size: 773 bytes
Desc: not available
Url : http://lists.gobolinux.org/pipermail/gobolinux-devel/attachments/20080410/b6b8712c/attachment.bin 


More information about the gobolinux-devel mailing list