From aeb6152ad76ff161169af841e68f68d2c7981a18 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 11 Jul 2026 16:09:22 -0500 Subject: [PATCH] citrix-workspace: install MIME definitions and app icon hinst registers Citrix-mime_types.xml and the Citrix-Receiver icon via xdg tooling; without them the application/x-ica and application/vnd.citrix.receiver.configure types are undefined and the desktop entries reference a missing icon. Install both into share/, and copy only *.desktop into share/applications so the MIME XML no longer lands there. --- pkgs/by-name/ci/citrix-workspace/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ci/citrix-workspace/package.nix b/pkgs/by-name/ci/citrix-workspace/package.nix index 583e8368fd9a..4f60c9a9115e 100644 --- a/pkgs/by-name/ci/citrix-workspace/package.nix +++ b/pkgs/by-name/ci/citrix-workspace/package.nix @@ -413,7 +413,12 @@ stdenv.mkDerivation rec { done echo "Copy .desktop files." - cp $out/opt/citrix-icaclient/desktop/* $out/share/applications/ + cp $out/opt/citrix-icaclient/desktop/*.desktop $out/share/applications/ + + install -Dm444 "$ICAInstDir/desktop/Citrix-mime_types.xml" \ + $out/share/mime/packages/Citrix-mime_types.xml + install -Dm444 "$ICAInstDir/icons/000_Receiver_64.png" \ + $out/share/icons/hicolor/64x64/apps/Citrix-Receiver.png runHook postInstall '';