removed redundant recs

removed file
This commit is contained in:
meguminloli 2022-01-13 15:28:45 +02:00
parent 60e9d2754a
commit f84fc783b6

View File

@ -18,27 +18,25 @@
outputs = args@{ self, nixpkgs, flake-utils, libnbtplusplus, quazip, ... }: outputs = args@{ self, nixpkgs, flake-utils, libnbtplusplus, quazip, ... }:
{ {
overlay = final: prev: { overlay = final: prev: {
inherit (self.packages.${final.system}) inherit (self.packages.${final.system}) polymc;
polymc;
};
} // flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux"] (system:
let pkgs = import nixpkgs {
inherit system;
}; };
} // flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; };
in { in {
defaultPackage = self.packages.${system}.polymc; packages = {
packages = rec {
polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc { polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc {
inherit self; inherit self;
submoduleQuazip = quazip; submoduleQuazip = quazip;
submoduleNbt = libnbtplusplus; submoduleNbt = libnbtplusplus;
}; };
}; };
apps = rec { apps = {
polymc = flake-utils.lib.mkApp { polymc = flake-utils.lib.mkApp {
name = "polymc"; name = "polymc";
drv = self.packages.${system}.polymc; drv = self.packages.${system}.polymc;
}; };
}; };
defaultPackage = self.packages.${system}.polymc;
defaultApp = self.apps.${system}.polymc;
}); });
} }