From 71d7bec227b4d8e3622e0248a1cd6d3f1ba4b2b0 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Fri, 11 Apr 2014 21:32:30 -0500 Subject: [PATCH] p0f: build fix attempt for Hydra Signed-off-by: Austin Seipp --- pkgs/tools/security/p0f/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/p0f/default.nix b/pkgs/tools/security/p0f/default.nix index 2c54e0b3cb8f..377639ce2e60 100644 --- a/pkgs/tools/security/p0f/default.nix +++ b/pkgs/tools/security/p0f/default.nix @@ -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 .. '';