Upstream changelog: https://github.com/PrismLauncher/PrismLauncher/releases/tag/8.0 (Imcomplete) list of changes in 8.0 relevant to PollyMC: - Prism has dropped support for Mojang accounts - https://github.com/PrismLauncher/PrismLauncher/pull/1656 - Added it back to PollyMC primarily since the Mojang authentication code is also used for authlib-injector accounts. Some users may also still want to be able to log in to Mojang accounts for some reason: https://github.com/fn2006/PollyMC/issues/115#issuecomment-1805384658, even if they do not provide authentication to multiplayer servers. - To my surprise, I could still log in to a Mojang account, get its skin, and launch the game. Authentication to servers, of course, did not work. - Tested: logging into authlib-injector, Mojang, and MSA accounts and launching the game. - Prism has added a built-in updater for Windows and Linux that I assume provides similar functionality to Sparkle on macOS: https://github.com/PrismLauncher/PrismLauncher/pull/1268. There is a Launcher_UPDATER_GITHUB_REPO variable in CMakeLists.txt that specifies the repo checked by the updater. I have changed this to the PollyMC repository, and since PollyMC follows almost the same CI/release patterns as Prism Launcher, it might work with PollyMC, too, but I have not tested it yet. - Add macOS support to Nix - https://github.com/PrismLauncher/PrismLauncher/pull/1485 - Untested - The "PollyMC-Linux-8.0.tar.gz" and similar build artifacts were renamed to "PollyMC-Linux-8.0-Qt5.tar.gz" to match their "PollyMC-Linux-8.0-Qt6.tar.gz" counterparts. - Removed Windows MSVC Legacy builds - Removed Quilt Beacon toggle, the beacon is now always disabled: https://github.com/PrismLauncher/PrismLauncher/pull/1547, https://github.com/PrismLauncher/meta/pull/23 - Prism removed FTB support in 7.0, but I tested creating an FTB instance to make sure it still works in 8.0 Signed-off-by: Evan Goode <mail@evangoo.de>
66 lines
1.4 KiB
Nix
66 lines
1.4 KiB
Nix
{
|
|
inputs,
|
|
self,
|
|
...
|
|
}: {
|
|
perSystem = {
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
packages = let
|
|
ourPackages = lib.fix (final: self.overlays.default final pkgs);
|
|
in {
|
|
inherit
|
|
(ourPackages)
|
|
pollymc-qt5-unwrapped
|
|
pollymc-qt5
|
|
pollymc-unwrapped
|
|
pollymc
|
|
;
|
|
default = ourPackages.pollymc;
|
|
};
|
|
};
|
|
|
|
flake = {
|
|
overlays.default = final: prev: let
|
|
version = builtins.substring 0 8 self.lastModifiedDate or "dirty";
|
|
|
|
filteredSelf = inputs.nix-filter.lib.filter {
|
|
root = ../.;
|
|
include = [
|
|
"buildconfig"
|
|
"cmake"
|
|
"launcher"
|
|
"libraries"
|
|
"program_info"
|
|
"tests"
|
|
../COPYING.md
|
|
../CMakeLists.txt
|
|
];
|
|
};
|
|
|
|
# common args for prismlauncher evaluations
|
|
unwrappedArgs = {
|
|
self = filteredSelf;
|
|
|
|
inherit (inputs) libnbtplusplus;
|
|
inherit ((final.darwin or prev.darwin).apple_sdk.frameworks) Cocoa;
|
|
inherit version;
|
|
};
|
|
in {
|
|
pollymc-qt5-unwrapped = prev.libsForQt5.callPackage ./pkg unwrappedArgs;
|
|
|
|
pollymc-qt5 = prev.libsForQt5.callPackage ./pkg/wrapper.nix {
|
|
pollymc-unwrapped = final.pollymc-qt5-unwrapped;
|
|
};
|
|
|
|
pollymc-unwrapped = prev.qt6Packages.callPackage ./pkg unwrappedArgs;
|
|
|
|
pollymc = prev.qt6Packages.callPackage ./pkg/wrapper.nix {
|
|
inherit (final) pollymc-unwrapped;
|
|
};
|
|
};
|
|
};
|
|
}
|