add libgl to idea
This commit is contained in:
parent
e5b5b56ee0
commit
13b0103678
1 changed files with 11 additions and 1 deletions
|
@ -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]}"
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue