p0f: build fix attempt for Hydra

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-04-11 21:32:30 -05:00
parent c47d3bb600
commit 71d7bec227

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libpcap }:
{ stdenv, fetchurl, libpcap, bash }:
stdenv.mkDerivation rec {
name = "p0f-${version}";
@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
buildPhase = ''
substituteInPlace config.h --replace "p0f.fp" "$out/etc/p0f.fp"
substituteInPlace build.sh --replace "/bin/bash" "${bash}/bin/bash"
./build.sh
cd tools && make && cd ..
'';