Re-generate Haskell expressions with cabal2nix.

This commit is contained in:
Peter Simons 2014-07-16 12:54:59 +02:00
parent 58d52c5f76
commit 29c8fdc941
5 changed files with 8 additions and 5 deletions

View File

@ -9,11 +9,6 @@ cabal.mkDerivation (self: {
extraLibraries = [ fuse ]; extraLibraries = [ fuse ];
preConfigure = '' preConfigure = ''
sed -i -e "s@ Extra-Lib-Dirs: /usr/local/lib@ Extra-Lib-Dirs: ${fuse}/lib@" HFuse.cabal sed -i -e "s@ Extra-Lib-Dirs: /usr/local/lib@ Extra-Lib-Dirs: ${fuse}/lib@" HFuse.cabal
sed -i -e "s/LANGUAGE FlexibleContexts/LANGUAGE FlexibleContexts, RankNTypes/" System/Fuse.hsc
sed -i -e "s/E(Exception/E(catch, Exception, IOException/" System/Fuse.hsc
sed -i -e "s/IO(catch,/IO(/" System/Fuse.hsc
sed -i -e "s/IO.catch/ E.catch/" System/Fuse.hsc
sed -i -e "s/const exitFailure/\\\\(_ :: IOException) -> exitFailure/" System/Fuse.hsc
''; '';
meta = { meta = {
homepage = "https://github.com/m15k/hfuse"; homepage = "https://github.com/m15k/hfuse";

View File

@ -1,3 +1,5 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, blazeHtml, happstackServer, jmacro, jmacroRpc, mtl { cabal, aeson, blazeHtml, happstackServer, jmacro, jmacroRpc, mtl
}: }:

View File

@ -1,3 +1,5 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, jmacro, jmacroRpc, mtl, snapCore }: { cabal, aeson, jmacro, jmacroRpc, mtl, snapCore }:
cabal.mkDerivation (self: { cabal.mkDerivation (self: {

View File

@ -1,3 +1,5 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, attoparsec, blazeHtml, contravariant, jmacro, mtl { cabal, aeson, attoparsec, blazeHtml, contravariant, jmacro, mtl
, scientific, split, text, unorderedContainers, vector , scientific, split, text, unorderedContainers, vector
}: }:

View File

@ -1,3 +1,5 @@
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, aeson, haskellSrcExts, haskellSrcMeta, mtl, parseargs { cabal, aeson, haskellSrcExts, haskellSrcMeta, mtl, parseargs
, parsec, regexPosix, safe, syb, text, unorderedContainers, vector , parsec, regexPosix, safe, syb, text, unorderedContainers, vector
, wlPprintText , wlPprintText