1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

Merge pull request #29931 from Mic92/sysdig

sysdig: remove broken patchelf call
This commit is contained in:
Jörg Thalheim 2017-09-29 17:08:38 +01:00 committed by GitHub
commit 63f56e0d2f

View file

@ -35,23 +35,7 @@ stdenv.mkDerivation rec {
export KERNELDIR="${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
'';
libPath = makeLibraryPath [
zlib
luajit
ncurses
jsoncpp
curl
jq
openssl
libb64
gcc
stdenv.cc.cc
];
postInstall = optionalString (!stdenv.isDarwin) ''
patchelf --set-rpath "$libPath" "$out/bin/sysdig"
patchelf --set-rpath "$libPath" "$out/bin/csysdig"
'' + optionalString (kernel != null) ''
postInstall = optionalString (kernel != null) ''
make install_driver
kernel_dev=${kernel.dev}
kernel_dev=''${kernel_dev#/nix/store/}