fix build

This commit is contained in:
cidkidnix 2022-01-08 01:45:52 -06:00
parent 069d4dd2d1
commit 2a88099094

View File

@ -34,7 +34,7 @@ mkDerivation rec {
postInstall = ''
# xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
cp ${desktopFile} $out/share/applications/
cp ${desktopFile}/share/applications/* $out/share/applications/
wrapProgram $out/bin/polymc \
--set GAME_LIBRARY_PATH /run/opengl-driver/lib:${libpath} \
--prefix PATH : ${lib.makeBinPath [ xorg.xrandr ]}