anchor.diff:      ghcSybUtils haskellSrcExts hlint hspec ioChoice monadControl
       monadJournal mtl split syb text time transformers transformersBase
     ];
  -  buildTools = [ emacs ];
  +  buildTools = [ emacs makeWrapper ];
     doCheck = false;
     configureFlags = "--datasubdir=${self.pname}-${self.version}";
  +  # The method used below to wrap ghc-mod and ghc-modi was borrowed from the
  +  # wrapper for haddock.
     postInstall = ''
       cd $out/share/$pname-$version
       make
  
positive.code: { cabal, Cabal, convertible, deepseq, djinnGhc, doctest, emacs
  , filepath, ghcPaths, ghcSybUtils, haskellSrcExts, hlint, hspec
  , ioChoice, monadControl, monadJournal, mtl, split, syb, text, time
  , transformers, transformersBase
  }:
  
  cabal.mkDerivation (self: {
  
negative.code:     cd ..
      ensureDir "$out/share/emacs"
      mv $pname-$version emacs/site-lisp
  
      wrapProgram $out/bin/ghc-mod --add-flags \
        "\$(${self.ghc.GHCGetPackages} ${self.ghc.version} \"\$(dirname \$0)\" \"-g -package-db -g\")"
      wrapProgram $out/bin/ghc-modi --add-flags \
        "\$(${self.ghc.GHCGetPackages} ${self.ghc.version} \"\$(dirname \$0)\" \"-g -package-db -g\")"
    '';
    meta = {
      homepage = "http://www.mew.org/~kazu/proj/ghc-mod/";
  