make sure we use our desktop file

This commit is contained in:
cidkidnix 2022-01-08 01:50:23 -06:00
parent 2a88099094
commit d68980810a

View File

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