diff options
author | timoreo <contact@timoreo.fr> | 2022-07-23 14:08:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-23 14:08:10 +0200 |
commit | 6aad750fe037cfdc46db846e6cc507f112f745ed (patch) | |
tree | ccbacb0e5648862769bbebce5905a30c9fdde8ba /nix | |
parent | c65f5f772887bb0751e1c3996a5a1739435e3284 (diff) | |
parent | 5e443ae34709f5a5659f482057564d3a004017fd (diff) | |
download | PrismLauncher-6aad750fe037cfdc46db846e6cc507f112f745ed.tar.gz PrismLauncher-6aad750fe037cfdc46db846e6cc507f112f745ed.tar.bz2 PrismLauncher-6aad750fe037cfdc46db846e6cc507f112f745ed.zip |
Merge pull request #893 from Scrumplex/refactor-env-handling
Diffstat (limited to 'nix')
-rw-r--r-- | nix/default.nix | 6 |
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 ]; }; } |