From 745e76145149c9efa42f6cc6cf68f969405a03b1 Mon Sep 17 00:00:00 2001 From: Jonathan Lamothe Date: Tue, 26 Oct 2021 12:05:56 -0400 Subject: [PATCH] include Paths_gemserv module after all --- gemserv.cabal | 5 +++++ package.yaml | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gemserv.cabal b/gemserv.cabal index 107f712..45aa851 100644 --- a/gemserv.cabal +++ b/gemserv.cabal @@ -29,6 +29,8 @@ library exposed-modules: Network.GemServ Network.GemServ.Types + other-modules: + Paths_gemserv hs-source-dirs: src ghc-options: -Wall @@ -40,12 +42,14 @@ library , tls , x509 default-language: Haskell2010 + autogen-modules: Paths_gemserv test-suite gemserv-test type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: Network.GemServSpec + Paths_gemserv hs-source-dirs: test ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N @@ -59,3 +63,4 @@ test-suite gemserv-test , tls , x509 default-language: Haskell2010 + autogen-modules: Paths_gemserv diff --git a/package.yaml b/package.yaml index e494a4c..e7ecb91 100644 --- a/package.yaml +++ b/package.yaml @@ -32,9 +32,8 @@ dependencies: library: source-dirs: src - when: &nopaths - - condition: false - other-modules: Paths_gemserv + verbatim: &paths + autogen-modules: Paths_gemserv tests: gemserv-test: @@ -47,5 +46,5 @@ tests: dependencies: - gemserv - hspec >= 2.7.10 && < 2.8 - when: - - <<: *nopaths \ No newline at end of file + verbatim: + <<: *paths \ No newline at end of file