anchor.diff:      chmod +x $out/bin/clusternode
     '';
   
  -  buildInputs = [ git v8 mono ];
  +  buildInputs = [ v8 mono ];
   
  +  phases = [ "unpackPhase" "buildPhase" "installPhase" ];
     dontStrip = true;
   
     meta = {
  
positive.code:     description = "Event sourcing database with processing logic in JavaScript";
      license = stdenv.lib.licenses.bsd3;
      maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
      platforms = with stdenv.lib.platforms; linux;
    };
  }
  
negative.code: { stdenv, fetchFromGitHub, fetchpatch, mono, v8 }:
  
  # There are some similarities with the pinta derivation. We should
  # have a helper to make it easy to package these Mono apps.
  
  stdenv.mkDerivation rec {
    name = "EventStore-${version}";
    version = "3.5.0";
    src = fetchFromGitHub {
      owner  = "EventStore";
      repo   = "EventStore";
      rev    = "oss-v${version}";
      sha256 = "0dp5914hxwdzw62q49wavqfqkw3jy0dvml09y7gh8frnbiajcxq9";
    };
  
    buildPhase = ''
      mkdir -p src/libs/x64/nixos
      pushd src/EventStore.Projections.v8Integration
      cc -o ../libs/x64/nixos/libjs1.so -fPIC -lv8 -shared -std=c++0x *.cpp
      popd
  
      patchShebangs build.sh
      ./build.sh ${version} release nixos
    '';
  
    installPhase = ''
  