From 146ea88d11438dd0a93513affd9b1b9f7b994935 Mon Sep 17 00:00:00 2001 From: TheMatten Date: Fri, 23 Oct 2020 11:00:23 +0200 Subject: [PATCH] Add Paths_* to generated-other-modules --- package.yaml | 2 ++ polysemy-plugin/package.yaml | 2 ++ polysemy-plugin/polysemy-plugin.cabal | 4 +++- polysemy.cabal | 5 ++++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/package.yaml b/package.yaml index 7fe5575..ba1192c 100644 --- a/package.yaml +++ b/package.yaml @@ -77,6 +77,8 @@ library: ghc-options: -Wall source-dirs: src other-modules: Polysemy.Internal.PluginLookup + generated-other-modules: + - Paths_polysemy when: - condition: flag(dump-core) diff --git a/polysemy-plugin/package.yaml b/polysemy-plugin/package.yaml index 9aa608d..7a38966 100644 --- a/polysemy-plugin/package.yaml +++ b/polysemy-plugin/package.yaml @@ -33,6 +33,8 @@ custom-setup: library: source-dirs: src + generated-other-modules: + - Paths_polysemy_plugin flags: corelint: diff --git a/polysemy-plugin/polysemy-plugin.cabal b/polysemy-plugin/polysemy-plugin.cabal index b4322a2..9b379e6 100644 --- a/polysemy-plugin/polysemy-plugin.cabal +++ b/polysemy-plugin/polysemy-plugin.cabal @@ -4,7 +4,7 @@ cabal-version: 2.0 -- -- see: https://github.com/sol/hpack -- --- hash: c7e130178c5199be49659c43bf9e2d9dc5792c21c41b81b7ba50279ebea963e0 +-- hash: 44327db7470ebcb50b7141a3a17ffde2130f69401c24dbed443290623f8547dc name: polysemy-plugin version: 0.2.5.1 @@ -47,6 +47,8 @@ library Polysemy.Plugin.Fundep.Utils other-modules: Paths_polysemy_plugin + autogen-modules: + Paths_polysemy_plugin hs-source-dirs: src default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax diff --git a/polysemy.cabal b/polysemy.cabal index 1e2f827..dcaa666 100644 --- a/polysemy.cabal +++ b/polysemy.cabal @@ -4,7 +4,7 @@ cabal-version: 2.0 -- -- see: https://github.com/sol/hpack -- --- hash: fa7aaa2419a7bc1c1779979b304e87f5840d10146f3f23d1b4d93ac1ddbc028f +-- hash: 1ca26628a20b44d39a0c528cd42cb065833e803157c026d19b1ecacc770f59dc name: polysemy version: 1.3.0.0 @@ -87,6 +87,9 @@ library Polysemy.Writer other-modules: Polysemy.Internal.PluginLookup + Paths_polysemy + autogen-modules: + Paths_polysemy hs-source-dirs: src default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax