 
            
            
            
            
                29 Aug
                
                    2011
                
            
            
                29 Aug
                
                '11
                
            
            
            
        
    
                11:28 a.m.
            
        On 11-08-29 02:41 AM, Arnaud Bailly wrote:
ghc-pkg unregister --force --user template-haskell [...] ghc-pkg unregister --force --user template-haskell
I am sorry. I apologize. It was not your fault. It was my fault. "unregister --user" drops the global instance when there is no user instance, which is when the 2nd time you issued the command. It is a ghc-pkg bug. (I already knew the dual bug: "unregister --global" drops the user instance when there is one. I make do with "unregister --global --no-user-package-conf".)