Skip to content

Commit

Permalink
sysdig: remove broken patchelf call
Browse files Browse the repository at this point in the history
patchelf broke sysdig/csysdig binaries
  • Loading branch information
Mic92 committed Sep 29, 2017
1 parent 9b84866 commit 52c31f8
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions pkgs/os-specific/linux/sysdig/default.nix
Expand Up @@ -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/}
Expand Down

0 comments on commit 52c31f8

Please sign in to comment.