anchor.diff:      # not via sed to avoid escaping issues
       substituteInPlace src/Modules.hs \
         --replace '@modules@' '${modulesStr}'
  +    sed -i 's/\[dataDir :=> dir\]/@config@ ++ \0/' src/Main.hs
  +    substituteInPlace src/Main.hs \
  +      --replace '@config@' '${configStr}'
     '';
   
     buildInputs = self.buildInputs ++ [ makeWrapper ];
  
positive.code:     ++ referencePlugins
      ++ socialPlugins
  ''
  }:
  
  # FIXME: fix hoogle search
  
negative.code:                                      ++ lib.optional (aspell != null) aspell
                                      );
      modulesStr = lib.replaceChars ["\n"] [" "] ("corePlugins ++ " + modules);
      configStr = lib.replaceChars ["\n"] [" "] configuration;
  
  in lib.overrideDerivation haskellngPackages.lambdabot (self: {
    postPatch = (self.postPatch or "") + ''
  