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:
Joey Hess 2022-02-25 13:16:36 -04:00
parent 51c528980c
commit 952664641a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
12 changed files with 13 additions and 9 deletions

1
.ghci
View file

@ -1,4 +1,3 @@
:load Common
:set -XLambdaCase
:set -XPackageImports
:set -fno-warn-tabs

View file

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

View file

@ -5,7 +5,7 @@
- Licensed under the GNU AGPL version 3 or higher.
-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE OverloadedStrings, PackageImports #-}
module Annex.View where

View file

@ -6,6 +6,7 @@
-}
{-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses #-}
{-# LANGUAGE PackageImports #-}
module Assistant.Monad (
Assistant,

View file

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

View file

@ -5,7 +5,7 @@
- Licensed under the GNU AGPL version 3 or higher.
-}
{-# LANGUAGE RankNTypes, DeriveFunctor #-}
{-# LANGUAGE RankNTypes, DeriveFunctor, PackageImports #-}
module Command.TestRemote where

View file

@ -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,

View file

@ -5,6 +5,8 @@
- License: BSD-2-clause
-}
{-# LANGUAGE PackageImports #-}
module Utility.AuthToken (
AuthToken,
toAuthToken,

View file

@ -5,6 +5,8 @@
- License: BSD-2-clause
-}
{-# LANGUAGE PackageImports #-}
module Utility.Base64 where
import Utility.FileSystemEncoding

View file

@ -5,7 +5,7 @@
- License: BSD-2-clause
-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE BangPatterns, PackageImports #-}
module Utility.Hash (
sha1,

View file

@ -5,7 +5,7 @@
- License: BSD-2-clause
-}
{-# LANGUAGE OverloadedStrings, CPP, RankNTypes #-}
{-# LANGUAGE OverloadedStrings, CPP, RankNTypes, PackageImports #-}
module Utility.WebApp (
browserProc,

View file

@ -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