From 73c7b9c8c70b6b41b2a48ee718dc30a43bde2311 Mon Sep 17 00:00:00 2001 From: Mauricio Scheffer Date: Mon, 20 Sep 2021 19:18:00 +0100 Subject: [PATCH] aws-workspaces: fix patchelf for liblttng-ust Copied from github-runner @ fb7ac89d69cbf9eb0457e5fe688250616e7e2e3d Fixes #138727 --- .../applications/networking/remote/aws-workspaces/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/remote/aws-workspaces/default.nix b/pkgs/applications/networking/remote/aws-workspaces/default.nix index 9efaa18e31f9..4e00cb9bdb42 100644 --- a/pkgs/applications/networking/remote/aws-workspaces/default.nix +++ b/pkgs/applications/networking/remote/aws-workspaces/default.nix @@ -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