aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix12
-rw-r--r--packages/nix/polymc/default.nix13
2 files changed, 23 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index d809066a..5f95b4e6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -16,11 +16,19 @@
};
outputs = args@{ self, nixpkgs, flake-utils, libnbtplusplus, quazip, ... }:
- {
+ let
+ systems = [
+ "aarch64-linux"
+ # "aarch64-darwin" # qtbase is currently broken
+ "i686-linux"
+ "x86_64-darwin"
+ "x86_64-linux"
+ ];
+ in {
overlay = final: prev: {
inherit (self.packages.${final.system}) polymc;
};
- } // flake-utils.lib.eachDefaultSystem (system:
+ } // flake-utils.lib.eachSystem systems (system:
let pkgs = import nixpkgs { inherit system; };
in {
packages = {
diff --git a/packages/nix/polymc/default.nix b/packages/nix/polymc/default.nix
index e65a7e34..a9610017 100644
--- a/packages/nix/polymc/default.nix
+++ b/packages/nix/polymc/default.nix
@@ -79,4 +79,17 @@ mkDerivation rec {
--set GAME_LIBRARY_PATH ${gameLibraryPath} \
--prefix PATH : ${lib.makeBinPath [ xorg.xrandr ]}
'';
+
+ meta = with lib; {
+ homepage = "https://polymc.org/";
+ description = "A free, open source launcher for Minecraft";
+ longDescription = ''
+ Allows you to have multiple, separate instances of Minecraft (each with
+ their own mods, texture packs, saves, etc) and helps you manage them and
+ their associated options with a simple interface.
+ '';
+ platforms = platforms.unix;
+ license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ starcraft66 kloenk ];
+ };
}