#3184: package.conf should be under /var, not /usr
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  Compiler          |      Version:  6.10.2          
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by duncan):

 Replying to [ticket:3184 igloo]:

 > `package.conf` is not shareable, as different machines may have
 different packages installed, so we should put it under /var instead.

 Right. Note that the initial/pristine version of the package db could be
 stored along with ghc in lib. The first time ghc-pkg registers a new
 global package then the db should be made under /var. Either the pristine
 one should be copied to /var or the one in /var should extend the pristine
 one.

 The point is, a binary install should still be relocatable. Instllation
 should not have to create any global db in /var. That can be defered to
 runtime rather than install time. Like the way ghc-pkg makes the per-user
 db on demand.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3184#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to