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. - Licensed under the GNU GPL version 3 or higher.
-} -}
{-# LANGUAGE PackageImports, GeneralizedNewtypeDeriving, TypeFamilies, MultiParamTypeClasses #-} {-# LANGUAGE GeneralizedNewtypeDeriving, TypeFamilies, MultiParamTypeClasses #-}
module Annex ( module Annex (
Annex, Annex,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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