on master help sign in
Do not require "directory" dependency on Windows
commit9b788e036f57ea85a24d3215fa36d5a94e99f4cf authorHarendra Kumar <harendra@composewell.com> dateWed 26 Oct 2022, 17:38 (4 years ago) parent3cc70e5
1 file changed+8−4
streamly.cabal+8−4
streamly.cabal+8−4
@@ -472,7 +472,6 @@ library
472472 base >= 4.9 && < 4.18
473473 , containers >= 0.5 && < 0.7
474474 , deepseq >= 1.4.1 && < 1.5
475− , directory >= 1.2.2 && < 1.4
476475 , exceptions >= 0.8 && < 0.11
477476 , mtl >= 2.2 && < 2.4
478477 , transformers >= 0.4 && < 0.7
@@ -502,13 +501,18 @@ library
502501 build-depends: monad-control >= 1.0 && < 1.1
503502
504503 if flag(dev)
505− build-depends: primitive >= 0.5.4 && < 0.8
504+ build-depends: primitive >= 0.5.4 && < 0.8
505+
506+ -- For FileSystem.Event module
507+ if os(linux)
508+ build-depends: directory >= 1.2.2 && < 1.4
506509
507510 if os(windows)
508− build-depends: Win32 >= 2.6 && < 2.13
511+ build-depends: Win32 >= 2.6 && < 2.13
509512
510513 if os(darwin)
511− frameworks: Cocoa
514+ build-depends: directory >= 1.2.2 && < 1.4
515+ frameworks: Cocoa
512516
513517 if flag(inspection)
514518 build-depends: inspection-testing >= 0.4 && < 0.5