sysdig: fix macOS build
This commit is contained in:
parent
9e7faf9883
commit
1953cb5f71
|
@ -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) ''
|
||||||
|
|
Loading…
Reference in New Issue