[Hackage] #202: add a flag/config to make cabal use sudo/su/.. when installing with --global

Hackage trac at galois.com
Tue Dec 18 17:28:54 EST 2007


#202: add a flag/config to make cabal use sudo/su/.. when installing with
--global
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:                     
      Type:  enhancement         |       Status:  new                
  Priority:  normal              |    Milestone:                     
 Component:  cabal-install tool  |      Version:  HEAD               
  Severity:  normal              |     Keywords:  global install sudo
Difficulty:  normal              |   Ghcversion:  6.8.2              
  Platform:  Linux               |  
---------------------------------+------------------------------------------
 cabal install --global usually fails because of missing privileges.
 sudo cabal install --global is quite messy since every intermediate file
 is then owned by root, so other tasks that wouldn't need privileges at
 all, now requires them to handle those files.
 I propose to add the possibility to configure a command to use when
 running the equivalent of "runhaskell Setup install" on the package.
 So that the user can set it in ~/.cabal/config and it will always be used
 when install --global is run.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/202>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list