diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 3b94bea..39297d5 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -89,8 +89,16 @@ lutris minetest # dev - # jetbrains.jdk - jetbrains.idea-community + # Wrap idea-community to add libraries required for Minecraft Moddev + (symlinkJoin { + name = "idea-community"; + paths = [ jetbrains.idea-community ]; + buildInputs = [ makeWrapper ]; + postBuild = '' + wrapProgram $out/bin/idea-community \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libpulseaudio libGL glfw openal stdenv.cc.cc.lib]}" + ''; + }) packwiz # vscodium # see programs.vscode rnix-lsp