From 13b01036787461a925686a29e30847f22721696e Mon Sep 17 00:00:00 2001 From: xunuwu Date: Sun, 9 Mar 2025 15:39:22 +0100 Subject: [PATCH] add libgl to idea --- home/profiles/editors/jetbrains/idea.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/home/profiles/editors/jetbrains/idea.nix b/home/profiles/editors/jetbrains/idea.nix index 1b2b0d3..5233712 100644 --- a/home/profiles/editors/jetbrains/idea.nix +++ b/home/profiles/editors/jetbrains/idea.nix @@ -1,3 +1,13 @@ {pkgs, ...}: { - home.packages = with pkgs; [jetbrains.idea-ultimate]; + home.packages = with pkgs; [ + (symlinkJoin { + name = "idea-ultimate"; + paths = [jetbrains.idea-ultimate]; + buildInputs = [makeWrapper]; + postBuild = '' + wrapProgram $out/bin/idea-ultimate \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libGL]}" + ''; + }) + ]; }