From ba9164022d489be54bccf2d1a2cb56a0123ebc25 Mon Sep 17 00:00:00 2001 From: Vir Chaudhury Date: Tue, 12 Jul 2022 05:16:32 +0800 Subject: [PATCH] fix(nix): add stdenv.cc.cc.lib to GAME_LIBRARY_PATH Some mods (like DiscordRichPresence) require libstdc++. This commit adds stdenv.cc.cc.lib to $GAME_LIBRARY_PATH so that these mods function correctly. Signed-off-by: Vir Chaudhury --- nix/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/default.nix b/nix/default.nix index 94b74354d..12ac01652 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -34,6 +34,7 @@ let libXxf86vm libpulseaudio libGL + stdenv.cc.cc.lib ]; # This variable will be passed to Minecraft by PolyMC