haskell-HFuse: re-generate expression with recent version of cabal2nix
This commit is contained in:
parent
9cf2e2d030
commit
3dbe2e6cea
|
@ -5,7 +5,6 @@ cabal.mkDerivation (self: {
|
||||||
version = "0.2.4.1";
|
version = "0.2.4.1";
|
||||||
sha256 = "12k04dvh92kk2i68bcb70xnk378qxmh46f241k06di5rkcgwyg1k";
|
sha256 = "12k04dvh92kk2i68bcb70xnk378qxmh46f241k06di5rkcgwyg1k";
|
||||||
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/LANGUAGE FlexibleContexts/LANGUAGE FlexibleContexts, RankNTypes/" System/Fuse.hsc
|
||||||
|
@ -14,14 +13,11 @@ cabal.mkDerivation (self: {
|
||||||
sed -i -e "s/IO.catch/ E.catch/" 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
|
sed -i -e "s/const exitFailure/\\\\(_ :: IOException) -> exitFailure/" System/Fuse.hsc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/toothbrush/hfuse";
|
homepage = "https://github.com/toothbrush/hfuse";
|
||||||
description = "HFuse is a binding for the Linux FUSE library";
|
description = "HFuse is a binding for the Linux FUSE library";
|
||||||
license = self.stdenv.lib.licenses.bsd3;
|
license = self.stdenv.lib.licenses.bsd3;
|
||||||
platforms = self.ghc.meta.platforms;
|
platforms = self.ghc.meta.platforms;
|
||||||
maintainers = [
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
||||||
self.stdenv.lib.maintainers.andres
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue