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]}" + ''; + }) + ]; }