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

View file

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