Skip to content

Commit 74cc5eb

Browse files
Don't set -fplugin in ghc-options
This workarounds haskell/cabal#9375
1 parent a8398b9 commit 74cc5eb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+54
-6
lines changed

liquid-parallel/liquid-parallel.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ library
2323
, liquidhaskell >= 0.9.2.8
2424
default-language: Haskell2010
2525
default-extensions: PackageImports
26-
if impl(ghc >= 8.10)
27-
ghc-options: -fplugin=LiquidHaskell

liquid-parallel/src/Control/Parallel/Strategies_LHAssumptions.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12
{-# OPTIONS_GHC -Wno-unused-imports #-}
23
module Control.Parallel.Strategies_LHAssumptions where
34

liquid-prelude/liquid-prelude.cabal

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,3 @@ library
3232
, containers >= 0.6.4.1
3333
, liquidhaskell >= 0.9.2.8
3434
default-language: Haskell2010
35-
if impl(ghc >= 8.10)
36-
ghc-options: -fplugin=LiquidHaskell

liquid-prelude/src/Language/Haskell/Liquid/Bag.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12
module Language.Haskell.Liquid.Bag where
23

34
import qualified Data.Map as M

liquid-prelude/src/Language/Haskell/Liquid/Equational.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12
module Language.Haskell.Liquid.Equational where
23

34
-------------------------------------------------------------------------------

liquid-prelude/src/Language/Haskell/Liquid/Foreign.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
23
{-# LANGUAGE MagicHash #-}
34

liquid-prelude/src/Language/Haskell/Liquid/List.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12
module Language.Haskell.Liquid.List (transpose) where
23

34
{-@ lazy transpose @-}

liquid-prelude/src/Language/Haskell/Liquid/Prelude.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12
{-# LANGUAGE MagicHash #-}
23

34
module Language.Haskell.Liquid.Prelude where

liquid-prelude/src/Language/Haskell/Liquid/ProofCombinators.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12
{-# LANGUAGE MultiParamTypeClasses #-}
23
{-# LANGUAGE FlexibleInstances #-}
34
{-# LANGUAGE TypeFamilies #-}

liquid-prelude/src/Language/Haskell/Liquid/RTick.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# OPTIONS_GHC -fplugin=LiquidHaskell #-}
12

23
--
34
-- Liquidate your assets: reasoning about resource usage in Liquid Haskell.

0 commit comments

Comments
 (0)