From d73121ef8dc18197307a4a240c5aba556107a967 Mon Sep 17 00:00:00 2001 From: "Simon R. - fantomitechno" Date: Tue, 22 Sep 2026 03:32:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=EF=B8=8F=20fix=20jetbrain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/jetbrain.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/jetbrain.nix b/modules/jetbrain.nix index 515f138..f389b55 100644 --- a/modules/jetbrain.nix +++ b/modules/jetbrain.nix @@ -1,7 +1,15 @@ { pkgs, ... }: +let + idea = pkgs.jetbrains.idea.overrideAttrs (old: { + postFixup = (old.postFixup or "") + '' + wrapProgram $out/bin/idea \ + --suffix LD_LIBRARY_PATH : "${pkgs.libglvnd}/lib" + ''; + }); +in { - environment.systemPackages = with pkgs; [ - jetbrains.idea + environment.systemPackages = [ + idea ]; programs = { -- 2.51.2