patch applied (cabal-install): Updated patch for world-file support
Tue Nov 3 12:29:27 PST 2009 Peter Robinson <thaldyron@gmail.com> * Updated patch for world-file support Update 2: now uses writeFileAtomic from Cabal This is a new patch for Ticket #199; it adds the "--one-shot" option. A world file entry contains the package-name, package-version, and user flags (if any). For example, the file entry generated by # cabal install stm-io-hooks --flags="-debug" looks like this: # stm-io-hooks -any --flags="-debug" To rebuild/upgrade the packages in world (e.g. when updating the compiler) use cabal install world Installing package 'foo' without adding it to the world file: # cabal install foo --one-shot M ./Distribution/Client/Config.hs -1 +13 M ./Distribution/Client/Setup.hs -8 +25 M ./Distribution/Client/Types.hs -2 +61 A ./Distribution/Client/World.hs M ./Main.hs -2 +19 M ./cabal-install.cabal +1 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal-install;a=darcs_commit...
participants (1)
-
Duncan Coutts