
2011/1/2 Magnus Therning
On Sat, Jan 1, 2011 at 20:55, Rémy Oudompheng
wrote: On 2010/12/30 Magnus Therning
wrote: On Tue, Dec 28, 2010 at 09:08, Rémy Oudompheng
wrote: In order to get improved PKGBUILDs I thought we could have a better usage of the dependency resolution capabilities in the Cabal library, this is summed up in this commit
http://github.com/remyoudompheng/archhaskell/commit/2e614b2
This adds an extra file, platform-provides.txt, that lists our preferred versions for various packages. For the moment I have filled it with the contents of Haskell Platform.
Is it worth considering downloading this file dynamically, rather than compiling it into the executable statically?
It's been some time since these lists were not compiled in the executable. I have added a flag to cabal2arch (in my copy http://github.com/remyoudompheng/cabal2arch) to handle a custom directory or URL where these files could be stored. I am using mtl for error handling.
Why not remove the file from github completely and host it in a well-known location then?
Because I just did that yesterday :) I have put examples of files at http://dev.archlinux.org/~remy/arch-haskell/ For example cabal2arch --sysinfo=http://dev.archlinux.org/~remy/arch-haskell/hp2011.0 will produce PKGBUILDs which are forced to use library versions specified in HP2011.0 while cabal2arch --sysinfo=http://dev.archlinux.org/~remy/arch-haskell/default will use the behaviour we had before. -- Rémy.