polymc: add stdenv.cc.cc.lib to GAME_LIBRARY_PATH

Some Minecraft mods (like DiscordRichPresence) require libstdc++.
This commit adds stdenv.cc.cc.lib to $GAME_LIBRARY_PATH so that these
mods function correctly.
This commit is contained in:
Vir Chaudhury
2022-07-14 07:42:13 +08:00
parent 8d28fdd57a
commit 050161d39c
+1
View File
@@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
libGL
glfw
openal
stdenv.cc.cc.lib
];
in ''
# xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128