Skip to content

Commit

Permalink
Use local Prelude in D.C.GlobalFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
hvr committed Oct 9, 2016
1 parent 13a46b2 commit 3fb519a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions cabal-install/Distribution/Client/GlobalFlags.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE RecordWildCards #-}

module Distribution.Client.GlobalFlags (
GlobalFlags(..)
, defaultGlobalFlags
Expand All @@ -12,9 +13,11 @@ module Distribution.Client.GlobalFlags (
, withRepoContext'
) where

import Prelude ()
import Distribution.Client.Compat.Prelude

import Distribution.Client.Types
( Repo(..), RemoteRepo(..) )
import Distribution.Compat.Semigroup
import Distribution.Simple.Setup
( Flag(..), fromFlag, flagToMaybe )
import Distribution.Utils.NubList
Expand All @@ -26,22 +29,15 @@ import Distribution.Verbosity
import Distribution.Simple.Utils
( info )

import Data.Maybe
( fromMaybe )
import Control.Concurrent
( MVar, newMVar, modifyMVar )
import Control.Exception
( throwIO )
import Control.Monad
( when )
import System.FilePath
( (</>) )
import Network.URI
( uriScheme, uriPath )
import Data.Map
( Map )
import qualified Data.Map as Map
import GHC.Generics ( Generic )

import qualified Hackage.Security.Client as Sec
import qualified Hackage.Security.Util.Path as Sec
Expand Down

0 comments on commit 3fb519a

Please sign in to comment.