From d68980810a889b0c9858c482746aaeb764db40f8 Mon Sep 17 00:00:00 2001 From: cidkidnix Date: Sat, 8 Jan 2022 01:50:23 -0600 Subject: [PATCH] make sure we use our desktop file --- nix/polymc/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/polymc/default.nix b/nix/polymc/default.nix index b8d95bba..f49c593a 100644 --- a/nix/polymc/default.nix +++ b/nix/polymc/default.nix @@ -34,6 +34,7 @@ mkDerivation rec { postInstall = '' # 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/ wrapProgram $out/bin/polymc \ --set GAME_LIBRARY_PATH /run/opengl-driver/lib:${libpath} \