
18 Aug
2010
18 Aug
'10
2:37 a.m.
Ben Millwood wrote:
It sounds to me like your life would be a lot easier if you knew about cabal-install's root-cmd configuration parameter! Open your .cabal/config file and uncomment and set:
root-cmd: sudo
Now cabal-install will take up root permissions when and only when necessary :) I only found this out after asking #haskell about similar problems. Perhaps it should be more prominent somehow.
Thank you for that. I was hoping such a thing had been implemented somewhere...