From e7622b326979caf1526aecab7f0ea648905c5eb2 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Tue, 14 Nov 2023 11:00:52 +0100 Subject: [PATCH] remote: move default-extensions into common stanza --- hnix-store-remote/hnix-store-remote.cabal | 57 ++++++++--------------- 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/hnix-store-remote/hnix-store-remote.cabal b/hnix-store-remote/hnix-store-remote.cabal index 7cddf75..2153268 100644 --- a/hnix-store-remote/hnix-store-remote.cabal +++ b/hnix-store-remote/hnix-store-remote.cabal @@ -18,6 +18,25 @@ Common commons ghc-options: -Wall -Wunused-packages else ghc-options: -Wall + default-extensions: + OverloadedStrings + , DeriveGeneric + , DeriveDataTypeable + , DeriveFunctor + , DeriveFoldable + , DeriveTraversable + , DeriveLift + , FlexibleContexts + , FlexibleInstances + , StandaloneDeriving + , TypeApplications + , TypeSynonymInstances + , InstanceSigs + , MultiParamTypeClasses + , TupleSections + , LambdaCase + , BangPatterns + , ViewPatterns flag io-testsuite default: @@ -64,25 +83,6 @@ library base hiding (Prelude) , relude (Relude as Prelude) , relude - default-extensions: - OverloadedStrings - , DeriveGeneric - , DeriveDataTypeable - , DeriveFunctor - , DeriveFoldable - , DeriveTraversable - , DeriveLift - , FlexibleContexts - , FlexibleInstances - , StandaloneDeriving - , TypeApplications - , TypeSynonymInstances - , InstanceSigs - , MultiParamTypeClasses - , TupleSections - , LambdaCase - , BangPatterns - , ViewPatterns hs-source-dirs: src default-language: Haskell2010 ghc-options: -Wall @@ -139,23 +139,4 @@ test-suite hnix-store-remote-tests base hiding (Prelude) , relude (Relude as Prelude) , relude - default-extensions: - OverloadedStrings - , DeriveGeneric - , DeriveDataTypeable - , DeriveFunctor - , DeriveFoldable - , DeriveTraversable - , DeriveLift - , FlexibleContexts - , FlexibleInstances - , StandaloneDeriving - , TypeApplications - , TypeSynonymInstances - , InstanceSigs - , MultiParamTypeClasses - , TupleSections - , LambdaCase - , BangPatterns - , ViewPatterns default-language: Haskell2010