From d5645d1a6fef06035787c00460fb0bce940712f5 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 9 Oct 2022 01:05:04 +0200 Subject: [PATCH] stack: fix build --- srcpkgs/stack/patches/fsnotify.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/stack/patches/fsnotify.patch diff --git a/srcpkgs/stack/patches/fsnotify.patch b/srcpkgs/stack/patches/fsnotify.patch new file mode 100644 index 00000000000..f82fd8f7300 --- /dev/null +++ b/srcpkgs/stack/patches/fsnotify.patch @@ -0,0 +1,16 @@ +src/Stack/FileWatch.hs:29:49: error: Not in scope: ‘confUsePolling’ + | +29 | fileWatchPoll = fileWatchConf $ defaultConfig { confUsePolling = True } + | ^^^^^^^^^^^^^^ + +--- a/stack.cabal ++++ b/stack.cabal +@@ -256,7 +256,7 @@ library + file-embed >=0.0.14.0, + filelock >=0.1.1.5, + filepath >=1.4.2.1, +- fsnotify >=0.3.0.1, ++ fsnotify >=0.3.0.1 && <0.4.0.0, + generic-deriving >=1.13.1, + hackage-security >=0.6.0.1, + hashable >=1.3.0.0,