Manipulating source packages from Hackage how to easy deploy to several windowsboxes?
Posted
by Jonke
on Stack Overflow
See other posts from Stack Overflow
or by Jonke
Published on 2010-05-12T07:29:31Z
Indexed on
2010/05/12
7:34 UTC
Read the original article
Hit count: 253
Recently when I have found good sources packages for ghc 6.12/6.10 on Hackage I've been forced to do some minor or major changes to the cabal files to make those packages to work under windows. Besides to fork and merge my fixes with github, what seems to be the best way/ good enough practice to take these modified builds to a couple of other windows boxes that only has a basic haskell platform installed?
I should prefer if I somehow could work with the cabal-install because that is what one normally use. Should one put the modfied build dirs on a shared/networked dir and mount from the targeted windows box? Say something like this:
on machine prepare
cabal fetch foo
cabal unpack foo
cd foo
edit .cabal and .hs
cabal configure
cabal build
On machine useanddevelopnormal
cd machinepreparemount
cd foo
cabal install
© Stack Overflow or respective owner