anchor.diff:        ];
     };
   
  -  ffi = {
  -    postUnpack = "onetuh";
  -    buildFlags = ["--with-ffi-dir=${libffi}"];
  -    NIX_POST_EXTRACT_FILES_HOOK = patchUsrBinEnv;
  +  pry = { gemFlags = "--no-ri --no-rdoc"; };
  +
  +  rails = { gemFlags = "--no-ri --no-rdoc"; };
  +
  +  rjb = {
  +    buildInputs = [ jdk ];
  +    JAVA_HOME = jdk;
     };
   
     rmagick = {
       buildInputs = [ imagemagick pkgconfig ];
   
       NIX_CFLAGS_COMPILE = "-I${imagemagick}/include/ImageMagick-6";
  +  };
  +
  +  sqlite3 = { propagatedBuildInputs = [ sqlite ]; };
  +
  +  xapian_full = {
  +    buildInputs = [ gems.rake zlib libuuid ];
  +    gemFlags = "--no-rdoc --no-ri";
  +  };
  +
  +  xapian_full_alaveteli = {
  +    buildInputs = [ zlib libuuid ];
  +  };
  +
  +  xapian_ruby = {
  +    buildInputs = [ zlib libuuid ];
     };
   
     xrefresh_server =
  
positive.code:     find "$1" -type f -name "*.rb" | xargs sed -i "s@/usr/bin/env@$(type -p env)@g"
      find "$1" -type f -name "*.mk" | xargs sed -i "s@/usr/bin/env@$(type -p env)@g"
    '';
    
  in
  
  {
    iconv = { buildInputs = [ libiconvOrEmpty ]; };
  
    libv8 = {
  
negative.code:         zcat ${patch} | patch -p 1
        ''; # */
      };
  }
  