git.iko.soy/typeable/cabal2nix
on master help sign in
Merge pull request #69 from nilcons/hfuse

Fix HFuse stanza

commitead0e53734d78e280e9ed83df6a1cd2f8b5e1be5 authorPeter Simons <simons@cryp.to> dateWed 16 Jul 2014, 12:52 (12 years ago) parentf4574d0f26941a
1 file changed−5
src/Cabal2Nix/PostProcess.hs−5
src/Cabal2Nix/PostProcess.hs−5
@@ -229,11 +229,6 @@ hfusePreConfigure :: String
229229hfusePreConfigure = unlines
230230 [ "preConfigure = ''"
231231 , " sed -i -e \"s@ Extra-Lib-Dirs: /usr/local/lib@ Extra-Lib-Dirs: ${fuse}/lib@\" HFuse.cabal"
232− , " sed -i -e \"s/LANGUAGE FlexibleContexts/LANGUAGE FlexibleContexts, RankNTypes/\" System/Fuse.hsc"
233− , " sed -i -e \"s/E(Exception/E(catch, Exception, IOException/\" System/Fuse.hsc"
234− , " sed -i -e \"s/IO(catch,/IO(/\" System/Fuse.hsc"
235− , " sed -i -e \"s/IO.catch/ E.catch/\" System/Fuse.hsc"
236− , " sed -i -e \"s/const exitFailure/\\\\\\\\(_ :: IOException) -> exitFailure/\" System/Fuse.hsc"
237232 , "'';"
238233 ]
239234