fix ccnx build

This commit is contained in:
Domen Kožar 2014-11-08 13:02:05 +01:00
parent 27b79a0469
commit ba8e8ec8cf

View File

@ -9,11 +9,11 @@ stdenv.mkDerivation {
sha256 = "1jyk7i8529821aassxbvzlxnvl5ly0na1qcn3v1jpxhdd0qqpg00";
};
buildInputs = [ openssl expat libpcap ];
preBuild = ''
preConfigure = ''
mkdir -p $out/include
mkdir -p $out/lib
mkdir -p $out/bin
substituteInPlace csrc/configure --replace "/usr/local" $out
substituteInPlace csrc/configure --replace "/usr/local" $out --replace "/usr/bin/env sh" "/bin/sh"
'';
meta = with stdenv.lib; {
homepage = "http://www.ccnx.org/";