aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/default.nix b/nix/default.nix
index bdc1758a..42ddda18 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -71,8 +71,8 @@ stdenv.mkDerivation rec {
postInstall = ''
# xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
wrapQtApp $out/bin/polymc \
- --run '[ -f /etc/NIXOS ] && export GAME_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib"' \
- --prefix GAME_LIBRARY_PATH : ${gameLibraryPath} \
+ --run '[ -f /etc/NIXOS ] && export LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH"' \
+ --prefix LD_LIBRARY_PATH : ${gameLibraryPath} \
--prefix POLYMC_JAVA_PATHS : ${javaPaths} \
--prefix PATH : ${lib.makeBinPath [ xorg.xrandr ]}
'';
@@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
their associated options with a simple interface.
'';
platforms = platforms.unix;
- license = licenses.gpl3Plus;
+ license = licenses.gpl3Only;
maintainers = with maintainers; [ starcraft66 kloenk ];
};
}