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