diff options
author | Mauricio Scheffer <mauricioscheffer@gmail.com> | 2021-09-21 22:37:01 +0100 |
---|---|---|
committer | Mauricio Scheffer <mauricioscheffer@gmail.com> | 2021-09-21 22:37:01 +0100 |
commit | f18dd09fc2e0dfac0418f40f4c56fbb97d0ef5c4 (patch) | |
tree | aa999d656f9ded6e8bba90efdf2a5ec05258c837 /pkgs/applications/networking/remote | |
parent | 73c7b9c8c70b6b41b2a48ee718dc30a43bde2311 (diff) |
aws-workspaces: only leave wrapper script in bin
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/aws-workspaces/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/networking/remote/aws-workspaces/default.nix b/pkgs/applications/networking/remote/aws-workspaces/default.nix index 4e00cb9bdb420..9cd634f73c50d 100644 --- a/pkgs/applications/networking/remote/aws-workspaces/default.nix +++ b/pkgs/applications/networking/remote/aws-workspaces/default.nix @@ -46,17 +46,20 @@ stdenv.mkDerivation rec { ''; preFixup = '' - patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so $out/bin/libcoreclrtraceptprovider.so + patchelf --replace-needed liblttng-ust.so.0 liblttng-ust.so $out/lib/libcoreclrtraceptprovider.so ''; installPhase = '' - mkdir -p $out/bin - mv $out/opt/workspacesclient/* $out/bin + mkdir -p $out/bin $out/lib + mv $out/opt/workspacesclient/* $out/lib + rm -rf $out/opt - wrapProgram $out/bin/workspacesclient \ + wrapProgram $out/lib/workspacesclient \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ --set GDK_PIXBUF_MODULE_FILE "${librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" \ --set GIO_EXTRA_MODULES "${glib-networking.out}/lib/gio/modules" + + mv $out/lib/workspacesclient $out/bin ''; meta = with lib; { |