github-runner: adapt to latest lttng-ust

ref: ab2501bd17
mullvad-ns
Vincent Haupert 3 years ago
parent ebcf2468ac
commit 1614fc6eb6
No known key found for this signature in database
GPG Key ID: A8B605E96F82B4E4
  1. 4
      pkgs/development/tools/continuous-integration/github-runner/default.nix

@ -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

Loading…
Cancel
Save