git.iko.soy/typeable/cabal2nix
on master help sign in
Fix HFuse stanza
commitf26941af4c268614317ab11a5a1c374c6c9187cf authorGergely Risko <errge@nilcons.com> dateWed 16 Jul 2014, 12:44 (12 years ago) parentea1f7b1
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