mirror of
https://github.com/composewell/streamly.git
synced 2024-09-11 11:37:22 +03:00
Define exposed module under a single condition
Otherwise hackage rejects the package.
This commit is contained in:
parent
5663dd8e7c
commit
3f72f58245
@ -318,7 +318,6 @@ library
|
||||
if os(windows)
|
||||
c-sources: src/Streamly/Internal/Data/Time/Clock/Windows.c
|
||||
exposed-modules: Streamly.Internal.FileSystem.Event.Windows
|
||||
, Streamly.Internal.FileSystem.Event
|
||||
build-depends: Win32 >= 2.6 && < 2.13
|
||||
|
||||
if os(darwin)
|
||||
@ -328,11 +327,12 @@ library
|
||||
, src/Streamly/Internal/FileSystem/Event/Darwin.m
|
||||
exposed-modules:
|
||||
Streamly.Internal.FileSystem.Event.Darwin
|
||||
, Streamly.Internal.FileSystem.Event
|
||||
|
||||
if os(linux)
|
||||
exposed-modules: Streamly.Internal.FileSystem.Event.Linux
|
||||
, Streamly.Internal.FileSystem.Event
|
||||
|
||||
if os(linux) || os(darwin) || os(windows)
|
||||
exposed-modules: Streamly.Internal.FileSystem.Event
|
||||
|
||||
hs-source-dirs: src
|
||||
other-modules:
|
||||
|
Loading…
Reference in New Issue
Block a user