sysdig: fix macOS build

This commit is contained in:
Matthew Bauer 2017-04-07 22:54:29 -05:00
parent 9e7faf9883
commit 1953cb5f71
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
stdenv.cc.cc stdenv.cc.cc
]; ];
postInstall = '' postInstall = optionalString (!stdenv.isDarwin) ''
patchelf --set-rpath "$libPath" "$out/bin/sysdig" patchelf --set-rpath "$libPath" "$out/bin/sysdig"
patchelf --set-rpath "$libPath" "$out/bin/csysdig" patchelf --set-rpath "$libPath" "$out/bin/csysdig"
'' + optionalString (kernel != null) '' '' + optionalString (kernel != null) ''