From 4d0407614dfd25a235d3b2ec533c524d03186591 Mon Sep 17 00:00:00 2001 From: js6pak Date: Sun, 13 Oct 2024 20:57:07 +0200 Subject: [PATCH] rider: add avalonia libs needed for dotMemory --- pkgs/applications/editors/jetbrains/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 0e3241a0397c..706fdde5aa5a 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -31,6 +31,10 @@ in , xorg , libGL +, libICE +, libSM +, libX11 + , vmopts ? null }: @@ -216,7 +220,13 @@ rec { libxml2 xz ]; - + extraLdPath = lib.optionals (stdenv.hostPlatform.isLinux) [ + # Avalonia dependencies needed for dotMemory + libICE + libSM + libX11 + libGL + ]; }).overrideAttrs (attrs: { postInstall = (attrs.postInstall or "") + lib.optionalString (stdenv.hostPlatform.isLinux) '' (