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:37:50 +08:00
parent 8d28fdd57a
commit 050161d39c
No known key found for this signature in database
GPG key ID: 25B242ED74B61B15

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