
18 Mar
2014
18 Mar
'14
4:04 p.m.
On Wed, Mar 19, 2014 at 12:02 AM, Brent Yorgey
cabal install --root-cmd=sudo --global cabal-install
That way, cabal will only acquire root privileges for the installation. It does not need to run as root for the entire downloading, building, etc. process, and in fact doing so can be bad, since it pollutes your package cache with files owned by root, leading to potential permissions problems in the future.
Oh my. This is some long magical incantation. Is this documented somewhere? At least in the cabal faq? -- Kim-Ee