turn of PackageImports in cabal file
This makes it easier to build eg benchmarks of individual modules. May be that most of these PackageImports are not really necessary, dunno.
This commit is contained in:
parent
51c528980c
commit
952664641a
12 changed files with 13 additions and 9 deletions
1
.ghci
1
.ghci
|
@ -1,4 +1,3 @@
|
|||
:load Common
|
||||
:set -XLambdaCase
|
||||
:set -XPackageImports
|
||||
:set -fno-warn-tabs
|
||||
|
|
2
Annex.hs
2
Annex.hs
|
@ -5,7 +5,7 @@
|
|||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving, BangPatterns #-}
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving, BangPatterns, PackageImports #-}
|
||||
|
||||
module Annex (
|
||||
Annex,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE OverloadedStrings, PackageImports #-}
|
||||
|
||||
module Annex.View where
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
-}
|
||||
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses #-}
|
||||
{-# LANGUAGE PackageImports #-}
|
||||
|
||||
module Assistant.Monad (
|
||||
Assistant,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE BangPatterns, DeriveDataTypeable #-}
|
||||
{-# LANGUAGE BangPatterns, DeriveDataTypeable, PackageImports #-}
|
||||
|
||||
module Command.Info where
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE RankNTypes, DeriveFunctor #-}
|
||||
{-# LANGUAGE RankNTypes, DeriveFunctor, PackageImports #-}
|
||||
|
||||
module Command.TestRemote where
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE FlexibleContexts, ScopedTypeVariables #-}
|
||||
{-# LANGUAGE FlexibleContexts, ScopedTypeVariables, PackageImports #-}
|
||||
|
||||
module Remote.Helper.Encryptable (
|
||||
EncryptionIsSetup,
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
- License: BSD-2-clause
|
||||
-}
|
||||
|
||||
{-# LANGUAGE PackageImports #-}
|
||||
|
||||
module Utility.AuthToken (
|
||||
AuthToken,
|
||||
toAuthToken,
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
- License: BSD-2-clause
|
||||
-}
|
||||
|
||||
{-# LANGUAGE PackageImports #-}
|
||||
|
||||
module Utility.Base64 where
|
||||
|
||||
import Utility.FileSystemEncoding
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- License: BSD-2-clause
|
||||
-}
|
||||
|
||||
{-# LANGUAGE BangPatterns #-}
|
||||
{-# LANGUAGE BangPatterns, PackageImports #-}
|
||||
|
||||
module Utility.Hash (
|
||||
sha1,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- License: BSD-2-clause
|
||||
-}
|
||||
|
||||
{-# LANGUAGE OverloadedStrings, CPP, RankNTypes #-}
|
||||
{-# LANGUAGE OverloadedStrings, CPP, RankNTypes, PackageImports #-}
|
||||
|
||||
module Utility.WebApp (
|
||||
browserProc,
|
||||
|
|
|
@ -383,7 +383,7 @@ Executable git-annex
|
|||
CC-Options: -Wall
|
||||
GHC-Options: -Wall -fno-warn-tabs -Wincomplete-uni-patterns
|
||||
Default-Language: Haskell2010
|
||||
Default-Extensions: PackageImports, LambdaCase
|
||||
Default-Extensions: LambdaCase
|
||||
Other-Extensions: TemplateHaskell
|
||||
-- Some things don't work with the non-threaded RTS.
|
||||
GHC-Options: -threaded
|
||||
|
|
Loading…
Reference in a new issue