anchor.diff:      echo importing other packages
       for i in $docPackages; do
         if [[ ! $i == $out ]]; then
  -        for docdir in $i/share/doc/*-ghc-*/* $i/share/doc/*; do
  +        for docdir in $i/share/doc/*-${ghcName}-*/* $i/share/doc/*; do
             name=`basename $docdir`
             docdir=$docdir/html
             if [[ -d $docdir ]]; then
  
positive.code: # This will build mmorph and monadControl, and have the hoogle installation
  # refer to their documentation via symlink so they are not garbage collected.
  
  { lib, stdenv, hoogle, rehoo
  , ghc, packages ? [ ghc.ghc ]
  }:
  
  let
    inherit (stdenv.lib) optional;
    wrapper = ./hoogle-local-wrapper.sh;
  in
  stdenv.mkDerivation {
    name = "hoogle-local-0.1";
  
negative.code:     }
  
      echo importing builtin packages
      for docdir in ${ghc}/${docLibGlob}/*; do
        if [[ -d $docdir ]]; then
          import_dbs $docdir
          ln -sfn $docdir $out/share/doc/hoogle
  