3
0
Fork 0
forked from mirrors/nixpkgs

github-runner: adapt to latest lttng-ust

ref: ab2501bd17
This commit is contained in:
Vincent Haupert 2021-09-07 16:16:29 +02:00
parent ebcf2468ac
commit 1614fc6eb6
No known key found for this signature in database
GPG key ID: A8B605E96F82B4E4

View file

@ -237,6 +237,10 @@ stdenv.mkDerivation rec {
# Stripping breaks the binaries
dontStrip = true;
preFixup = ''
patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so $out/lib/libcoreclrtraceptprovider.so
'';
postFixup = ''
fix_rpath() {
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $out/lib/$1