{ cabal, Cabal, convertible, deepseq, doctest, emacs, filepath , ghcSybUtils, hlint, hspec, ioChoice, syb, time, transformers }: cabal.mkDerivation (self: { pname = "ghc-mod"; version = "4.1.3"; sha256 = "0n7nbjbiiphlasqfcxx15fa8axwd9csq2nh3r0wvkrgpsazdlw8c"; 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 <