diff --git a/cabal-install-solver/src/Distribution/Solver/Types/NamedPackage.hs b/cabal-install-solver/src/Distribution/Solver/Types/NamedPackage.hs index a213b9052a5..440e61c9038 100644 --- a/cabal-install-solver/src/Distribution/Solver/Types/NamedPackage.hs +++ b/cabal-install-solver/src/Distribution/Solver/Types/NamedPackage.hs @@ -1,6 +1,4 @@ -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE DeriveFunctor #-} module Distribution.Solver.Types.NamedPackage ( NamedPackage (..) diff --git a/cabal-install-solver/src/Distribution/Solver/Types/WithConstraintSource.hs b/cabal-install-solver/src/Distribution/Solver/Types/WithConstraintSource.hs index 365bb40e492..5da8f2110d9 100644 --- a/cabal-install-solver/src/Distribution/Solver/Types/WithConstraintSource.hs +++ b/cabal-install-solver/src/Distribution/Solver/Types/WithConstraintSource.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE DeriveFoldable #-} -{-# LANGUAGE DeriveFunctor #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DeriveTraversable #-} {-# LANGUAGE NamedFieldPuns #-} diff --git a/cabal-install/src/Distribution/Client/ScriptUtils.hs b/cabal-install/src/Distribution/Client/ScriptUtils.hs index 756d4e58a37..68e9292d4e6 100644 --- a/cabal-install/src/Distribution/Client/ScriptUtils.hs +++ b/cabal-install/src/Distribution/Client/ScriptUtils.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE LambdaCase #-} {-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RecordWildCards #-} diff --git a/cabal-install/src/Distribution/Client/Setup.hs b/cabal-install/src/Distribution/Client/Setup.hs index 2b1d2e212c1..8e64bd9e12f 100644 --- a/cabal-install/src/Distribution/Client/Setup.hs +++ b/cabal-install/src/Distribution/Client/Setup.hs @@ -1,6 +1,5 @@ {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE LambdaCase #-} -{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE ScopedTypeVariables #-} diff --git a/cabal-install/tests/UnitTests/Distribution/Client/ArbitraryInstances.hs b/cabal-install/tests/UnitTests/Distribution/Client/ArbitraryInstances.hs index 534cb295b0b..8dcdb5c8cdf 100644 --- a/cabal-install/tests/UnitTests/Distribution/Client/ArbitraryInstances.hs +++ b/cabal-install/tests/UnitTests/Distribution/Client/ArbitraryInstances.hs @@ -1,7 +1,6 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE TypeApplications #-} -{-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module UnitTests.Distribution.Client.ArbitraryInstances