Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-07 Thread Brandon S. Allbery KF8NH
On Jun 4, 2010, at 23:04 , Don Stewart wrote: Build/does not build? That can be automated. Automated converters have a certain tendency to become confused and put files in unexpected places, etc. Usually this has less to do with the source than the destination; in particular, RPM

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-07 Thread Don Stewart
allbery: On Jun 4, 2010, at 23:04 , Don Stewart wrote: Build/does not build? That can be automated. Automated converters have a certain tendency to become confused and put files in unexpected places, etc. Usually this has less to do with the source than the destination; in particular,

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-07 Thread Don Stewart
allbery: On Jun 4, 2010, at 06:54 , Ivan Lazar Miljenovic wrote: Don Stewart d...@galois.com writes: However, we have tools for some distros that do this, and some distro tools support it directly (e.g. bauerbill --hackage on Arch Linux knows how to ask cabal2arch to translate the .cabal

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-07 Thread Don Stewart
ivan.miljenovic: Don Stewart d...@galois.com writes: allbery: Supposedly a future Cabal extension will be to, instead of installing, write out a package for a vendor packaging system (yum, apt, yast, what have you). Consider contributing to that effort. However, we have tools

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-07 Thread Brandon S. Allbery KF8NH
On Jun 4, 2010, at 06:54 , Ivan Lazar Miljenovic wrote: Don Stewart d...@galois.com writes: However, we have tools for some distros that do this, and some distro tools support it directly (e.g. bauerbill --hackage on Arch Linux knows how to ask cabal2arch to translate the .cabal file).

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-04 Thread Brandon S. Allbery KF8NH
On Jun 3, 2010, at 20:27 , Jens Petersen wrote: I often find myself hitting Ctrl-C at cabal install HACKAGE to run yum install ghc-DEPENDENCY-devel and before returning to run cabal install again. It would be nice to automate this in some way - cabal-install plugins, anyone?? Supposedly a

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-04 Thread Don Stewart
allbery: On Jun 3, 2010, at 20:27 , Jens Petersen wrote: I often find myself hitting Ctrl-C at cabal install HACKAGE to run yum install ghc-DEPENDENCY-devel and before returning to run cabal install again. It would be nice to automate this in some way - cabal-install plugins, anyone??

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-04 Thread Ivan Lazar Miljenovic
Don Stewart d...@galois.com writes: allbery: Supposedly a future Cabal extension will be to, instead of installing, write out a package for a vendor packaging system (yum, apt, yast, what have you). Consider contributing to that effort. However, we have tools for some distros that do

[Haskell-cafe] Re: Problems with Haskell Platform

2010-06-03 Thread Pete Chown
Ivan Lazar Miljenovic wrote: Pete Chown 1...@234.cx writes: Is there a way of making Cabal install dependencies using the system package manager, then? If you mean cabal-install, then no, there's no integration on either side. That's what I thought. As a result of this, you may find

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-03 Thread Jens Petersen
On 31 May 2010 20:14, Pete Chown 1...@234.cx wrote: I was just thinking, interactions between Cabal and the distribution package manager could get worse, as shared Haskell libraries become more common.  Suppose a distribution ships a package 'foo', but not a package 'bar' which depends on it.  

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-03 Thread Ivan Miljenovic
On 4 June 2010 10:27, Jens Petersen peter...@haskell.org wrote: On 31 May 2010 20:14, Pete Chown 1...@234.cx wrote: I was just thinking, interactions between Cabal and the distribution package manager could get worse, as shared Haskell libraries become more common.  Suppose a distribution

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-02 Thread Ivan Miljenovic
On 31 May 2010 20:14, Pete Chown 1...@234.cx wrote: I was just thinking, interactions between Cabal and the distribution package manager could get worse, as shared Haskell libraries become more common.  Suppose a distribution ships a package 'foo', but not a package 'bar' which depends on it.  

[Haskell-cafe] Re: Problems with Haskell Platform

2010-06-02 Thread Pete Chown
Ivan Miljenovic wrote: Pete Chown 1...@234.cx wrote: ... This causes Cabal to install 'foo' (because it is a dependency) and it won't use the distribution's package manager. Why won't it? This, of course, depends on how the distribution ships `foo' in regards to static/shared libraries

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-02 Thread Ivan Lazar Miljenovic
Pete Chown 1...@234.cx writes: Ivan Miljenovic wrote: Pete Chown 1...@234.cx wrote: ... This causes Cabal to install 'foo' (because it is a dependency) and it won't use the distribution's package manager. Why won't it? This, of course, depends on how the distribution ships `foo' in

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-02 Thread Ben Millwood
On Wed, Jun 2, 2010 at 12:37 PM, Ivan Lazar Miljenovic ivan.miljeno...@gmail.com wrote: Is there a way of making Cabal install dependencies using the system package manager, then? For example, I might ask Cabal to install package A.  Package A depends on B and C.  A package for B can be

Re: [Haskell-cafe] Re: Problems with Haskell Platform

2010-06-02 Thread Ivan Miljenovic
On 3 June 2010 00:37, Ben Millwood hask...@benmachine.co.uk wrote: It's worth noting, though, that cabal-install doesn't track installed packages itself, GHC does. And this is why cabal-install can't tell you when there are new versions of executable-only packages (e.g. happy) available: it

[Haskell-cafe] Re: Problems with Haskell Platform

2010-06-01 Thread Pete Chown
Dominic Steintiz wrote: I seem to be in some sort package dependency hell (which I thought the Haskell Platform did away with). I install ghc using my package manager (I'm on opensuse). I was just thinking, interactions between Cabal and the distribution package manager could get worse, as