summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/patches
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-09-17 13:20:16 +0200
committerPeter Simons <simons@cryp.to>2016-09-17 17:57:01 +0200
commit70150639a8237420c80900285471b2464da02493 (patch)
treec25f5011119ac6fbdb09c14e3f701fe9a91272d4 /pkgs/development/haskell-modules/patches
parent2140aca679b220c17e16b38bde82836f35a258a4 (diff)
downloadnixlib-70150639a8237420c80900285471b2464da02493.tar
nixlib-70150639a8237420c80900285471b2464da02493.tar.gz
nixlib-70150639a8237420c80900285471b2464da02493.tar.bz2
nixlib-70150639a8237420c80900285471b2464da02493.tar.lz
nixlib-70150639a8237420c80900285471b2464da02493.tar.xz
nixlib-70150639a8237420c80900285471b2464da02493.tar.zst
nixlib-70150639a8237420c80900285471b2464da02493.zip
haskell-spy: drop obsolete override
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r--pkgs/development/haskell-modules/patches/spy.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/pkgs/development/haskell-modules/patches/spy.patch b/pkgs/development/haskell-modules/patches/spy.patch
deleted file mode 100644
index 4c4e1844361b..000000000000
--- a/pkgs/development/haskell-modules/patches/spy.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/src/Spy/Watcher.hs b/src/Spy/Watcher.hs
-     index 8512613..4df67d4 100644
---- a/src/Spy/Watcher.hs
-+++ b/src/Spy/Watcher.hs
-@@ -50,7 +50,7 @@ plainFormat = Plain
- spy :: Spy -> IO b -> IO ()
- spy config after = withManager $ \wm ->
-     runIndefinitely
--      (watchTree wm (decodeString $ dir config)
-+      (watchTree wm (dir config)
-                   (not . skipEvent config . eventPath)
-                   (handleEvent config)) 
-       (const after)
-@@ -106,9 +106,9 @@ eventTime (Modified _ t) = t
- eventTime (Removed _ t) = t
- 
- eventPath :: Event -> FilePath
--eventPath (Added fp _) = encodeString fp
--eventPath (Modified fp _) = encodeString fp
--eventPath (Removed fp _) = encodeString fp
-+eventPath (Added fp _) = fp
-+eventPath (Modified fp _) = fp
-+eventPath (Removed fp _) = fp
- 
- eventType :: Event -> FilePath
- eventType (Added _ _) = "Added"