Re: [Haskell-cafe] Cabal and using a throw-away package database during distro package building

2010-11-05 Thread Albert Y. C. Lai
On 10-11-05 06:43 AM, Magnus Therning wrote: runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script [...] Except that the generated register/unregister scripts now also point to my-temp-db, and there seems to be no way to prevent this. I solved it for now b

[Haskell-cafe] Cabal and using a throw-away package database during distro package building

2010-11-05 Thread Dimitry Golubovsky
Magnus, You might try Capri which operates Cabal-related stuff privately on a local-to-project package database not touching global or user databases. http://hackage.haskell.org/package/capri http://www.haskell.org/haskellwiki/Capri -- Dimitry Golubovsky Anywhere on the Web __

[Haskell-cafe] Cabal and using a throw-away package database during distro package building

2010-11-05 Thread Magnus Therning
Recently I experimented a little with putting several Hackage packages into a single Linux distro package, but I ran into a slight problem with registering Haskell packages temporarily. These are the basic steps taken to configure, compile, and stage a Haskell package in ArchLinux: runhaskell