sysdig: 0.17.0 -> 0.18.0

This commit is contained in:
Joerg Thalheim 2017-09-26 00:15:22 +01:00
parent 76752e4c7e
commit b064137b7b

View File

@ -3,13 +3,13 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sysdig-${version}"; name = "sysdig-${version}";
version = "0.17.0"; version = "0.18.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "draios"; owner = "draios";
repo = "sysdig"; repo = "sysdig";
rev = version; rev = version;
sha256 = "0xw4in2yb3ynpc8jwl95j92kbyr7fzda3mab8nyxcyld7gshrlvd"; sha256 = "1hmkjvfg3371hp873mnkjq9cirqszw2ji4p7mb6jcn9ihwxil2z2";
}; };
buildInputs = [ buildInputs = [
@ -29,12 +29,6 @@ stdenv.mkDerivation rec {
"-DluaL_getn(L,i)=((int)lua_objlen(L,i))" "-DluaL_getn(L,i)=((int)lua_objlen(L,i))"
]; ];
postPatch = ''
sed 's|curl/curlbuild\.h|curl/system.h|' -i \
userspace/libsinsp/marathon_http.cpp \
userspace/libsinsp/mesos_http.cpp
'';
preConfigure = '' preConfigure = ''
export INSTALL_MOD_PATH="$out" export INSTALL_MOD_PATH="$out"
'' + optionalString (kernel != null) '' '' + optionalString (kernel != null) ''