aboutsummaryrefslogtreecommitdiff
path: root/nix/default.nix
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-10-18 09:01:48 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-10-18 09:37:59 +0200
commit722194405a8333a70b44cc204dabc8a590a6b3fd (patch)
tree56da37a1332fb09bc995d34f4acac822d4201212 /nix/default.nix
parent0868a5e534e11190cec4fa1497ca0741ab0e762a (diff)
downloadPrismLauncher-722194405a8333a70b44cc204dabc8a590a6b3fd.tar.gz
PrismLauncher-722194405a8333a70b44cc204dabc8a590a6b3fd.tar.bz2
PrismLauncher-722194405a8333a70b44cc204dabc8a590a6b3fd.zip
refactor: initial rebrand
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/nix/default.nix b/nix/default.nix
index 19136cad..c8b4f7cc 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -38,14 +38,14 @@ let
libGL
];
- # This variable will be passed to Minecraft by PolyMC
+ # This variable will be passed to Minecraft by Prism Launcher
gameLibraryPath = libpath + ":/run/opengl-driver/lib";
javaPaths = lib.makeSearchPath "bin/java" ([ jdk jdk8 ] ++ extraJDKs);
in
stdenv.mkDerivation rec {
- pname = "polymc";
+ pname = "prismlauncher";
inherit version;
src = lib.cleanSource self;
@@ -77,17 +77,17 @@ stdenv.mkDerivation rec {
# we have to check if the system is NixOS before adding stdenv.cc.cc.lib (#923)
postInstall = ''
# xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
- wrapQtApp $out/bin/polymc \
+ wrapQtApp $out/bin/prismlauncher \
--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 PRISMLAUNCHER_JAVA_PATHS : ${javaPaths} \
--prefix PATH : ${lib.makeBinPath [ xorg.xrandr ]}
'';
meta = with lib; {
- homepage = "https://polymc.org/";
- downloadPage = "https://polymc.org/download/";
- changelog = "https://github.com/PolyMC/PolyMC/releases";
+ homepage = "https://prismlauncher.org/";
+ downloadPage = "https://prismlauncher.org/download/";
+ changelog = "https://github.com/PrismLauncher/PrismLauncher/releases";
description = "A free, open source launcher for Minecraft";
longDescription = ''
Allows you to have multiple, separate instances of Minecraft (each with