add libgl to idea

This commit is contained in:
xunuwu 2025-03-09 15:39:22 +01:00
parent e5b5b56ee0
commit 13b0103678
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI

View file

@ -1,3 +1,13 @@
{pkgs, ...}: { {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]}"
'';
})
];
} }