Manipulating source packages from Hackage, how easy is it to expand multiple windows?

Recently, when I found good source packages for ghc 6.12 / 6.10 in Hackage, I was forced to make some minor or major changes to the cabal files to get these packages to work under windows. Also, to fork and merge my fixes from github, what seems like the best way / good enough practice to take these modified builds into a couple of other windows that only have the basic haskell platform installed?

I would prefer that I somehow be able to work with the cabal installation, because that's what they usually use. Should someone put the modedied dir in the shared / network directory and mount from the target window of the window? Say something like this:

prepare by car

 cabal fetch foo
    cabal unpack foo
    cd foo
    edit .cabal and .hs
    cabal configure
    cabal build

      

In the case of using the machine and developing normal

cd machinepreparemount
cd foo
cabal install

      

+2


a source to share


3 answers


The Yackage tool makes it easy to run a local Hackage compatible server. You can deploy your modified versions to Yackage, add the Yackage repository to the repository list, and then use the usual bonded installation.



+2


a source


Using github is definitely "good enough", although if it sounds like a regular operation you do to get something working on Windows, you might want to mention it on the development mailing lists for GHC, or at least at the Haskell Cafe. If this procedure is small enough, if it needs to be included in shared assemblies.



It is definitely recommended to work with cabal-install. However, you can distribute your personal fixes - this is a private matter, not for the control of others.

+1


a source


In principle, you can create local archives of hacks and point the installation to them. However, we do not currently have very good tools for creating an archive format. If you have time, it is a matter of getting the directory layout correct and using tar to create the index.

+1


a source







All Articles