on master help sign in
Define exposed module under a single condition

Otherwise hackage rejects the package.

commit3f72f5824522a5976dce5d77fb3b8dbe967fc9a2 authorHarendra Kumar <harendra@composewell.com> dateMon 6 Dec 2021, 12:51 (5 years ago) parent5663dd8
1 file changed+3−3
streamly.cabal+3−3
streamly.cabal+3−3
@@ -318,7 +318,6 @@ library
318318 if os(windows)
319319 c-sources: src/Streamly/Internal/Data/Time/Clock/Windows.c
320320 exposed-modules: Streamly.Internal.FileSystem.Event.Windows
321− , Streamly.Internal.FileSystem.Event
322321 build-depends: Win32 >= 2.6 && < 2.13
323322
324323 if os(darwin)
@@ -328,11 +327,12 @@ library
328327 , src/Streamly/Internal/FileSystem/Event/Darwin.m
329328 exposed-modules:
330329 Streamly.Internal.FileSystem.Event.Darwin
331− , Streamly.Internal.FileSystem.Event
332330
333331 if os(linux)
334332 exposed-modules: Streamly.Internal.FileSystem.Event.Linux
335− , Streamly.Internal.FileSystem.Event
333+
334+ if os(linux) || os(darwin) || os(windows)
335+ exposed-modules: Streamly.Internal.FileSystem.Event
336336
337337 hs-source-dirs: src
338338 other-modules: