From 0ababd8c5894414e20b0a36b7543a8eaad7f0c6b Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Fri, 25 Apr 2025 09:03:52 +0200 Subject: [PATCH] aws-workspaces: add missing shared folder Useful to get the `.desktop` file and related application icons --- pkgs/by-name/aw/aws-workspaces/package.nix | 29 +++++++++++----------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/aw/aws-workspaces/package.nix b/pkgs/by-name/aw/aws-workspaces/package.nix index 7de70180d089..bdcf2e63b8b8 100644 --- a/pkgs/by-name/aw/aws-workspaces/package.nix +++ b/pkgs/by-name/aw/aws-workspaces/package.nix @@ -1,6 +1,4 @@ { - stdenv, - lib, callPackage, writeShellApplication, buildFHSEnv, @@ -46,19 +44,18 @@ buildFHSEnv { includeClosures = true; - targetPkgs = - pkgs: with pkgs; [ - workspacesclient - custom_lsb_release - webkitgtk_4_1 - gtk3 - pango - atk - cairo - gdk-pixbuf - protobufc - cyrus_sasl - ]; + targetPkgs = pkgs: [ + workspacesclient + custom_lsb_release + webkitgtk_4_1 + gtk3 + pango + atk + cairo + gdk-pixbuf + protobufc + cyrus_sasl + ]; extraBwrapArgs = [ # provide certificates where Debian-style OpenSSL can find them @@ -68,6 +65,8 @@ buildFHSEnv { # expected executable doesn't match the name of this package extraInstallCommands = '' mv $out/bin/${pname} $out/bin/workspacesclient + + ln -s ${workspacesclient}/share $out/ ''; meta = workspacesclient.meta;