From 9fc11bc48a6777bef0d8a557cee7234dc3d9c091 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Hamal=20Dvo=C5=99=C3=A1k?= <mordae@anilinux.org>
Date: Fri, 30 Apr 2021 11:31:11 +0200
Subject: [PATCH] Fix some cabal warnings
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jan Hamal Dvořák <mordae@anilinux.org>
---
 hikaru.cabal | 26 ++------------------------
 1 file changed, 2 insertions(+), 24 deletions(-)

diff --git a/hikaru.cabal b/hikaru.cabal
index c8f27a6..081c2ed 100644
--- a/hikaru.cabal
+++ b/hikaru.cabal
@@ -29,6 +29,8 @@ source-repository head
     location: https://github.com/mordae/hikaru
 
 common common
+    default-language: Haskell2010
+
     default-extensions:
         AllowAmbiguousTypes
         BlockArguments
@@ -123,30 +125,6 @@ test-suite spec
         Hikaru.Test
         Paths_hikaru
 
-    default-extensions:
-        AllowAmbiguousTypes
-        BlockArguments
-        DataKinds
-        DefaultSignatures
-        DeriveGeneric
-        EmptyDataDecls
-        FlexibleContexts
-        FlexibleInstances
-        GADTs
-        GeneralizedNewtypeDeriving
-        ImportQualifiedPost
-        KindSignatures
-        LambdaCase
-        MultiParamTypeClasses
-        NamedFieldPuns
-        NoImplicitPrelude
-        OverloadedStrings
-        RankNTypes
-        RecordWildCards
-        ScopedTypeVariables
-        StandaloneDeriving
-        UndecidableInstances
-
     ghc-options:
         -threaded
         -rtsopts
-- 
GitLab