aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/polymc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/polymc/default.nix b/nix/polymc/default.nix
index fa356e93..b8d95bba 100644
--- a/nix/polymc/default.nix
+++ b/nix/polymc/default.nix
@@ -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 ]}