fix ccnx build
This commit is contained in:
parent
27b79a0469
commit
ba8e8ec8cf
@ -9,11 +9,11 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1jyk7i8529821aassxbvzlxnvl5ly0na1qcn3v1jpxhdd0qqpg00";
|
sha256 = "1jyk7i8529821aassxbvzlxnvl5ly0na1qcn3v1jpxhdd0qqpg00";
|
||||||
};
|
};
|
||||||
buildInputs = [ openssl expat libpcap ];
|
buildInputs = [ openssl expat libpcap ];
|
||||||
preBuild = ''
|
preConfigure = ''
|
||||||
mkdir -p $out/include
|
mkdir -p $out/include
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
mkdir -p $out/bin
|
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; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://www.ccnx.org/";
|
homepage = "http://www.ccnx.org/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user