From d46a5ddc5eaf000da834fd6ff012ee3bef3c7e1d Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Mon, 28 Oct 2019 17:25:30 +0100 Subject: [PATCH] Patch package.yaml from #267 --- package.yaml | 7 +++++++ polysemy-plugin/package.yaml | 7 +++++++ polysemy-plugin/polysemy-plugin.cabal | 12 ++++++------ polysemy.cabal | 16 ++++++++-------- 4 files changed, 28 insertions(+), 14 deletions(-) diff --git a/package.yaml b/package.yaml index 85c6e576..c89defb2 100644 --- a/package.yaml +++ b/package.yaml @@ -5,6 +5,7 @@ license: BSD3 author: "Sandy Maguire" maintainer: "sandy@sandymaguire.me" copyright: "2019 Sandy Maguire" +build-type: Custom extra-source-files: - README.md @@ -30,6 +31,12 @@ dependencies: - type-errors >= 0.2.0.0 - type-errors-pretty >= 0.0.0.0 && < 0.1 +custom-setup: + dependencies: + - base >= 4.9 && < 5 + - Cabal + - cabal-doctest >=1.0.6 && <1.1 + default-extensions: - DataKinds - DeriveFunctor diff --git a/polysemy-plugin/package.yaml b/polysemy-plugin/package.yaml index 9627e65d..921c4860 100644 --- a/polysemy-plugin/package.yaml +++ b/polysemy-plugin/package.yaml @@ -5,6 +5,7 @@ license: BSD3 author: "Sandy Maguire" maintainer: "sandy@sandymaguire.me" copyright: "2019 Sandy Maguire" +build-type: Custom extra-source-files: - README.md @@ -24,6 +25,12 @@ dependencies: - transformers >= 0.5.2.0 && < 0.6 - containers >= 0.5 && < 0.7 +custom-setup: + dependencies: + - base >= 4.9 && < 5 + - Cabal + - cabal-doctest >=1.0.6 && <1.1 + library: source-dirs: src diff --git a/polysemy-plugin/polysemy-plugin.cabal b/polysemy-plugin/polysemy-plugin.cabal index 4ff68766..1ed39498 100644 --- a/polysemy-plugin/polysemy-plugin.cabal +++ b/polysemy-plugin/polysemy-plugin.cabal @@ -1,10 +1,10 @@ -cabal-version: 1.12 +cabal-version: 1.24 -- This file has been generated from package.yaml by hpack version 0.31.2. -- -- see: https://github.com/sol/hpack -- --- hash: 736c186c771b4ab50e8d7cf9a5467675844f3cdb1df336b2d505572263cf01ef +-- hash: 8348af2f14be3efd7dce818f80b5dd436afe615c141b837852c2f1f2536c08b0 name: polysemy-plugin version: 0.2.3.0 @@ -28,10 +28,10 @@ source-repository head location: https://github.com/isovector/polysemy custom-setup - setup-depends: - base - , Cabal - , cabal-doctest >=1.0.6 && <1.1 + setup-depends: + Cabal + , base >=4.9 && <5 + , cabal-doctest >=1.0.6 && <1.1 library exposed-modules: diff --git a/polysemy.cabal b/polysemy.cabal index 20cccfec..a13bb056 100644 --- a/polysemy.cabal +++ b/polysemy.cabal @@ -1,10 +1,10 @@ -cabal-version: 1.12 +cabal-version: 1.24 -- This file has been generated from package.yaml by hpack version 0.31.2. -- -- see: https://github.com/sol/hpack -- --- hash: 6bdca16663a4fb1932ed4f9ec8736ba29a0355783b546db2811df338a9d21ae8 +-- hash: 40cf5370ccedc20b00b7927a7819a5f6a1e72b13996840d9c1670488facd29c1 name: polysemy version: 1.2.2.0 @@ -23,16 +23,16 @@ extra-source-files: README.md ChangeLog.md -custom-setup - setup-depends: - base - , Cabal - , cabal-doctest >=1.0.6 && <1.1 - source-repository head type: git location: https://github.com/isovector/polysemy +custom-setup + setup-depends: + Cabal + , base >=4.9 && <5 + , cabal-doctest >=1.0.6 && <1.1 + flag dump-core description: Dump HTML for the core generated by GHC during compilation manual: True