anchor.diff:      sha256 = "1qg6w8xz4pr227h1gxrbm6ylhqvspk95hvq2f9iakni7s56pkh1w";
     };
   
  -  buildInputs = [ openssl perl ];
  +  buildInputs = [ luajit openssl perl ];
  +
  +  makeFlags = [ "WITH_LUAJIT=${luajit}" "WITH_OPENSSL=${openssl.dev}" "VER=${version}" ];
  +
  +  preBuild = ''
  +    for f in src/*.h; do
  +      substituteInPlace $f \
  +        --replace "#include <luajit-2.0/" "#include <"
  +    done
  +  '';
     
     installPhase = ''
       mkdir -p $out/bin
  
positive.code:     '';
      license = licenses.asl20;
      maintainers = with maintainers; [ ragge ];
      platforms = platforms.linux;
    };
  }
  
negative.code: { stdenv, fetchFromGitHub, luajit, openssl, perl }:
  
  stdenv.mkDerivation rec {
    name = "wrk-${version}";
  