turn on PackageImports globally

This will make it easier to use the Evil Splicer, when it needs to add
package qualified imports

And there's no real downside.
This commit is contained in:
Joey Hess 2013-04-13 18:12:02 -04:00
parent 0b17d28988
commit 11d106a18c
7 changed files with 4 additions and 9 deletions

View file

@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher.
-}
{-# LANGUAGE PackageImports, GeneralizedNewtypeDeriving, TypeFamilies, MultiParamTypeClasses #-}
{-# LANGUAGE GeneralizedNewtypeDeriving, TypeFamilies, MultiParamTypeClasses #-}
module Annex (
Annex,

View file

@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher.
-}
{-# LANGUAGE PackageImports, GeneralizedNewtypeDeriving, MultiParamTypeClasses #-}
{-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses #-}
module Assistant.Monad (
Assistant,

View file

@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher.
-}
{-# LANGUAGE PackageImports, BangPatterns #-}
{-# LANGUAGE BangPatterns #-}
module Command.Status where

View file

@ -1,5 +1,3 @@
{-# LANGUAGE PackageImports #-}
module Common (module X) where
import Control.Monad as X hiding (join)

View file

@ -1,4 +1,3 @@
{-# LANGUAGE PackageImports #-}
{- path manipulation
-
- Copyright 2010-2011 Joey Hess <joey@kitenet.net>

View file

@ -5,8 +5,6 @@
- Licensed under the GNU GPL version 3 or higher.
-}
{-# LANGUAGE PackageImports #-}
module Utility.State where
import "mtl" Control.Monad.State.Strict

View file

@ -76,7 +76,7 @@ Executable git-annex
Include-Dirs: Utility
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
CC-Options: -Wall
GHC-Options: -threaded -Wall
GHC-Options: -threaded -Wall -XPackageImports
CPP-Options: -DWITH_CLIBS
if flag(Production)