From 031d03b80d6d45078ee08f774e2006a98c5fe285 Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Sat, 20 Sep 2025 14:07:45 +0530 Subject: [PATCH 1/3] Do not use internal modules in fsevent example --- examples/FileSystemEvent.hs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/examples/FileSystemEvent.hs b/examples/FileSystemEvent.hs index 11f46e9..8c0b924 100644 --- a/examples/FileSystemEvent.hs +++ b/examples/FileSystemEvent.hs @@ -9,16 +9,8 @@ import qualified Data.List.NonEmpty as NonEmpty import qualified Streamly.Data.Fold as Fold import qualified Streamly.Data.Stream as Stream import qualified Streamly.FileSystem.Path as Path - -#if darwin_HOST_OS -import qualified Streamly.Internal.FS.Event.Darwin as Event -#elif linux_HOST_OS -import qualified Streamly.Internal.FS.Event.Linux as Event -#elif mingw32_HOST_OS -import qualified Streamly.Internal.FS.Event.Windows as Event -#else -#error "FS Events not supported on this platform" -#endif +import qualified Streamly.FileSystem.Event as Event +import qualified Streamly.Internal.FS.Event as Event (showEvent) ------------------------------------------------------------------------------- -- Main From 3261b240906f6ae8d8ad7684f1c423ceb498976e Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Sat, 20 Sep 2025 15:53:54 +0530 Subject: [PATCH 2/3] Use deps from hackage in stack build --- stack.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/stack.yaml b/stack.yaml index 6dadc01..6e183cb 100644 --- a/stack.yaml +++ b/stack.yaml @@ -2,17 +2,19 @@ resolver: lts-22.43 packages: - '.' extra-deps: -#- streamly-core-0.2.0 -#- streamly-0.10.0 -#- fusion-plugin-0.2.6 -- git: https://github.com/composewell/streamly - commit: c7048326486e537908f9e6b7529f0d783014b7d9 -- git: https://github.com/composewell/streamly - commit: c7048326486e537908f9e6b7529f0d783014b7d9 - subdirs: - - core -- git: https://github.com/composewell/streamly-fsevents - commit: 7c06c187f0437e6857108c89fe74dc7cc53a0bac +- fusion-plugin-0.2.7 +- streamly-core-0.3.0 +- streamly-0.11.0 +- streamly-fsevents-0.1.0 + +#- git: https://github.com/composewell/streamly +# commit: c7048326486e537908f9e6b7529f0d783014b7d9 +#- git: https://github.com/composewell/streamly +# commit: c7048326486e537908f9e6b7529f0d783014b7d9 +# subdirs: +# - core +#- git: https://github.com/composewell/streamly-fsevents +# commit: 7c06c187f0437e6857108c89fe74dc7cc53a0bac rebuild-ghc-options: true From fa172b5aabc3c21ce69e1e801aecafb3a849911f Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Sat, 20 Sep 2025 18:13:38 +0530 Subject: [PATCH 3/3] Temp: use temporary streamly commit --- stack.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/stack.yaml b/stack.yaml index 6e183cb..72a9168 100644 --- a/stack.yaml +++ b/stack.yaml @@ -3,16 +3,16 @@ packages: - '.' extra-deps: - fusion-plugin-0.2.7 -- streamly-core-0.3.0 -- streamly-0.11.0 +#- streamly-core-0.3.0 +#- streamly-0.11.0 - streamly-fsevents-0.1.0 -#- git: https://github.com/composewell/streamly -# commit: c7048326486e537908f9e6b7529f0d783014b7d9 -#- git: https://github.com/composewell/streamly -# commit: c7048326486e537908f9e6b7529f0d783014b7d9 -# subdirs: -# - core +- git: https://github.com/composewell/streamly + commit: 9f256bfa7c441451b46fec02fa0510383643db09 +- git: https://github.com/composewell/streamly + commit: 9f256bfa7c441451b46fec02fa0510383643db09 + subdirs: + - core #- git: https://github.com/composewell/streamly-fsevents # commit: 7c06c187f0437e6857108c89fe74dc7cc53a0bac