mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
sysdig: update to 0.1.81
This commit is contained in:
parent
a819e8f4ef
commit
bf9612e797
@ -1,16 +1,14 @@
|
|||||||
{stdenv, fetchurl, cmake, luajit, kernel}:
|
{stdenv, fetchurl, cmake, luajit, kernel, zlib}:
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = rec {
|
||||||
rec {
|
|
||||||
baseName="sysdig";
|
baseName="sysdig";
|
||||||
version="0.1.79";
|
version="0.1.81";
|
||||||
name="${baseName}-${version}";
|
name="${baseName}-${version}";
|
||||||
hash="04ng4q859xxlpsnavx6rcgmq7frzgbzxm0p5zmdsmhz8m6hfvz7l";
|
url="https://github.com/draios/sysdig/archive/${version}.tar.gz";
|
||||||
url="https://github.com/draios/sysdig/archive/0.1.79.tar.gz";
|
sha256="0p9j1fy7lr027nsvr5bq0416nlsbvk02irzazmigsbr03fg0x1wv";
|
||||||
sha256="04ng4q859xxlpsnavx6rcgmq7frzgbzxm0p5zmdsmhz8m6hfvz7l";
|
|
||||||
};
|
};
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmake luajit kernel
|
cmake luajit kernel zlib
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -22,13 +20,14 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DUSE_BUNDLED_LUAJIT=OFF"
|
"-DUSE_BUNDLED_LUAJIT=OFF"
|
||||||
|
"-DUSE_BUNDLED_ZLIB=OFF"
|
||||||
];
|
];
|
||||||
makeFlags = [
|
preConfigure = ''
|
||||||
"KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
export INSTALL_MOD_PATH="$out"
|
||||||
];
|
export KERNELDIR="${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
|
'';
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/lib/modules/${kernel.modDirVersion}/misc/sysdig
|
make install_driver
|
||||||
cp driver/*.ko $out/lib/modules/${kernel.modDirVersion}/misc/sysdig
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user