From b96e76134ae55f83ddd51ef7bc9080db2ce797f7 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Tue, 12 Jul 2022 12:09:23 +0200 Subject: fix(nix): switch to LD_LIBRARY_PATH Signed-off-by: Sefa Eyeoglu --- nix/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nix/default.nix') diff --git a/nix/default.nix b/nix/default.nix index 1a6b9e44..6b16bb28 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 ]} ''; -- cgit From 5e443ae34709f5a5659f482057564d3a004017fd Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sat, 23 Jul 2022 13:56:25 +0200 Subject: fix(nix): change license to gpl3Only Signed-off-by: Sefa Eyeoglu --- nix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/default.nix') diff --git a/nix/default.nix b/nix/default.nix index 6b16bb28..40a9a587 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -86,7 +86,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 ]; }; } -- cgit