
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "cabal install foo" seems a nice (in fact, indispensible) idea, but I don't see how to do the following with *one* command, for package "foo" and all its dependencies: * download and build as user, but install as root * also build and install haddockumentation for each of the packages Best regards, J.W. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIoChEDqiTJ5Q4dm8RAlM3AJwPSNROTgsheAZksP3I9WrRVD/xBwCgiI0S Tpmo/YRT4J3kEq9HjkTOzqY= =YWYl -----END PGP SIGNATURE-----

On Mon, 2008-08-11 at 13:54 +0200, Johannes Waldmann wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
"cabal install foo" seems a nice (in fact, indispensible) idea, but I don't see how to do the following with *one* command, for package "foo" and all its dependencies: * download and build as user, but install as root
cabal install foo --global --root-cmd=sudo That feature has not been heavily tested so let us know if you find any problems.
* also build and install haddockumentation for each of the packages
The current development version supports: cabal install foo --enable-documentation If you want any of these options on by default then you can (or will be able to) set them in the ~/.cabal/config file. Duncan
participants (2)
-
Duncan Coutts
-
Johannes Waldmann