anchor.diff:       echo "$nativeBuildInputs" > "$out/nix-support/build-inputs"
      '';
    });
  + TannerRogalsky-demoloops = stdenv.mkDerivation rec {
  +   name = "TannerRogalsky-demoloops";
  +   src = fetchFromGitHub {
  +     owner = "TannerRogalsky";
  +     repo = "Demoloops";
  +     rev = "999972cc2056481175dd4c5b77e77d63bc58a00b";
  +     sha256 = "1vi9np77xc3lgnhkgk2dfnra0wrs1vkizih7lvpchmrd0n12h642";
  +     fetchSubmodules = true;
  +   };
  +   nativeBuildInputs = [cmake pkgconfig];
  +   buildInputs = [SDL2 SDL2_image SDL2_ttf mesa_glu openal glew
  +     bullet libvorbis];
  +   preConfigure = ''
  +     export BULLET_DIR="$PWD"
  +     export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL2_ttf}/include/SDL2 -I${bullet}/include/bullet"
  +     ln -s "${bullet}/lib/cmake/bullet/BulletConfig.cmake" BULLETConfig.cmake
  +     sed -e '1i#include <stdexcept>' -i lib/demoloop-lib/src/graphics/canvas.cpp
  +   '';
  +   installPhase = ''
  +     mkdir -p "$out"/{bin,lib,share/doc}
  +     cp ../{README*,LICEN?E} "$out/share/doc"
  +     cp loop* "$out"/bin
  +     cp lib/demoloop-lib/libdemoloop-lib.so "$out"/lib
  +   '';
  +   enableParallelBuilding = true;
  + };
   }; in 
   pp
  
positive.code: with pkgs;
  let pp = 
  {
    warmux = (warmux.override (let x = (warmux.function {}); in
  	    {
  	     src= "/home/repos/warmux/"; 
  	     phaseNames = ["JustStamp" "doAutogen"] ++ x.phaseNames;
  	     JustStamp = x.noDepEntry ''
  	       echo "${builtins.readFile "/home/repos/warmux/.svn/svn-info-output"}" &> /dev/null
  	     '';
  	     buildInputs = x.buildInputs ++ [automake autoconf libtool intltool perl];
  	     }));
    tbe = (tbe.override (let x = (tbe.function {}); in {
  	      src = "/home/repos/tbe/";
  	      name = "tbe-svn-head";
  	      phaseNames = ["JustStamp" "doCmake"] ++ 
  	      (lib.filter
  	        (y : y!="doConfigure")
  	        x.phaseNames
  		)
  		++ ["postInstall"];
  	      makeFlags = ["all" "translations"];
  	      JustStamp = x.noDepEntry ''
  	         echo "${builtins.readFile "/home/repos/tbe/.svn/svn-info-output"}" &> /dev/null
  	      '';
  	      postInstall = x.fullDepEntry ''
  	        cd "$out/bin"
  		mv tbe .tbe-wrapped
  		echo -e '#!/bin/sh\ncd "'"$out"'"\n./bin/.tbe-wrapped "$@"' > tbe
  		chmod a+x tbe
  	      '' ["minInit"];
  	      qt4 = qt48;
  	      buildInputs = [qt48 cmake] ++ (lib.filter (y : y.outPath != qt48.outPath) x.buildInputs);
  	    }));
    drgeo = (drgeo.override {src="" + /home/repos/drgeo-1.1.0 + "/";});
    btrfsProgs = (lib.overrideDerivation btrfsProgs (x: rec {
      justStamp = "${builtins.readFile "${src}/.git/refs/heads/master"}";
  		  src = "/home/repos/btrfs-progs/";
  
negative.code:       done
      '';
    };
    #ode = ode.override (x: {
    #  exportPIC = builderDefs.noDepEntry ''
    #    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fPIC "
    #  '';
    #  phaseNames = ["exportPIC"] ++ x.phaseNames;
    #});
    emergent = stdenv.mkDerivation rec {
      name = "emergent-svn-head";
      src = "/home/repos/emergent/";
  