aws-workspaces: fix patchelf for liblttng-ust

Copied from github-runner @ fb7ac89d69
Fixes #138727
This commit is contained in:
Mauricio Scheffer 2021-09-20 19:18:00 +01:00
parent 6eef746c14
commit 73c7b9c8c7

View File

@ -45,6 +45,10 @@ stdenv.mkDerivation rec {
${dpkg}/bin/dpkg -x $src $out
'';
preFixup = ''
patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so $out/bin/libcoreclrtraceptprovider.so
'';
installPhase = ''
mkdir -p $out/bin
mv $out/opt/workspacesclient/* $out/bin