From 659512012c2f16ba4b91dffb658e5516be1a884b Mon Sep 17 00:00:00 2001 From: Igal Tabachnik Date: Tue, 8 Apr 2025 13:17:44 +0300 Subject: [PATCH] Adding libGL explicitly as a common LD library for all JetBrains products --- pkgs/applications/editors/jetbrains/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 8e3053497b05..57651d9773d2 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -82,9 +82,9 @@ let pname jdk extraWrapperArgs - extraLdPath extraBuildInputs ; + extraLdPath = extraLdPath ++ lib.optionals (stdenv.hostPlatform.isLinux) [ libGL ]; src = if fromSource then communitySources."${pname}" @@ -336,7 +336,6 @@ rec { libICE libSM libX11 - libGL ]; }).overrideAttrs (attrs: { @@ -378,7 +377,6 @@ rec { libxcrypt-legacy fontconfig xorg.libX11 - libGL ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ expat