From 92b96225aabc3aa6241dd55085dc0c12395afae8 Mon Sep 17 00:00:00 2001 From: Mike Pilgrem Date: Mon, 19 Sep 2022 22:33:39 +0100 Subject: [PATCH] Add constraint fsnotify < 0.4 fsnotify-0.4.0.0, released on 15 September 2022, introduces a breaking change with `WatchConfig`. This change allows Stack to build with Cabal (the tool). --- package.yaml | 2 +- stack.cabal | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.yaml b/package.yaml index aa667c604f..9e0d6502a1 100644 --- a/package.yaml +++ b/package.yaml @@ -75,7 +75,7 @@ dependencies: - file-embed - filelock - filepath -- fsnotify +- fsnotify < 0.4 - generic-deriving - hackage-security - hashable diff --git a/stack.cabal b/stack.cabal index b959489402..2f42d90ce4 100644 --- a/stack.cabal +++ b/stack.cabal @@ -252,7 +252,7 @@ library , file-embed , filelock , filepath - , fsnotify + , fsnotify <0.4 , generic-deriving , hackage-security , hashable @@ -376,7 +376,7 @@ executable stack , file-embed , filelock , filepath - , fsnotify + , fsnotify <0.4 , generic-deriving , hackage-security , hashable @@ -499,7 +499,7 @@ executable stack-integration-test , file-embed , filelock , filepath - , fsnotify + , fsnotify <0.4 , generic-deriving , hackage-security , hashable @@ -630,7 +630,7 @@ test-suite stack-test , file-embed , filelock , filepath - , fsnotify + , fsnotify <0.4 , generic-deriving , hackage-security , hashable