anchor.diff: -{ stdenv, lib, fetchurl, copyPathsToStore, makeWrapper
  +{ stdenv, lib, fetchurl, copyPathsToStore, fixQtModuleCMakeConfig
   , srcs
   
   , xlibs, libX11, libxcb, libXcursor, libXext, libXrender, libXi
  
positive.code:     ''
        # Don't retain build-time dependencies like gdb and ruby.
        sed '/QMAKE_DEFAULT_.*DIRS/ d' -i $dev/mkspecs/qconfig.pri
      '';
  
    inherit lndir;
  
negative.code:     ++ lib.optional (postgresql != null) postgresql
      ++ lib.optionals gtkStyle [gnome_vfs.out libgnomeui.out gtk GConf];
  
    nativeBuildInputs = [ fixQtModuleCMakeConfig lndir python perl pkgconfig ];
  
    # freetype-2.5.4 changed signedness of some struct fields
    NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
  