{ cabal, Cabal, convertible, deepseq, doctest, emacs, filepath , ghcSybUtils, hlint, hspec, ioChoice, syb, time, transformers }: cabal.mkDerivation (self: { pname = "ghc-mod"; version = "4.1.5"; sha256 = "192v0h9nhi7xgvidyisn3rpr6kjpkibrm2b859b6a92gp0h37nnn"; isLibrary = true; isExecutable = true; buildDepends = [ Cabal convertible deepseq filepath ghcSybUtils hlint ioChoice syb time transformers ]; testDepends = [ Cabal convertible deepseq doctest filepath ghcSybUtils hlint hspec ioChoice syb time transformers ]; buildTools = [ emacs ]; doCheck = false; configureFlags = "--datasubdir=${self.pname}-${self.version}"; postInstall = '' cd $out/share/$pname-$version make rm Makefile cd .. ensureDir "$out/share/emacs" mv $pname-$version emacs/site-lisp mv $out/bin/ghc-mod $out/bin/.ghc-mod-wrapped cat - > $out/bin/ghc-mod <