removed redundant recs
removed file
This commit is contained in:
parent
60e9d2754a
commit
f84fc783b6
48
flake.nix
48
flake.nix
@ -2,7 +2,7 @@
|
|||||||
description = "PolyMC flake";
|
description = "PolyMC flake";
|
||||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
inputs.flake-compat = {
|
inputs.flake-compat = {
|
||||||
url = "github:edolstra/flake-compat";
|
url = "github:edolstra/flake-compat";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
@ -16,29 +16,27 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
defaultPackage = self.packages.${system}.polymc;
|
|
||||||
packages = rec {
|
|
||||||
polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc {
|
|
||||||
inherit self;
|
|
||||||
submoduleQuazip = quazip;
|
|
||||||
submoduleNbt = libnbtplusplus;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
apps = rec {
|
} // flake-utils.lib.eachDefaultSystem (system:
|
||||||
polymc = flake-utils.lib.mkApp {
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
name = "polymc";
|
in {
|
||||||
drv = self.packages.${system}.polymc;
|
packages = {
|
||||||
};
|
polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc {
|
||||||
};
|
inherit self;
|
||||||
});
|
submoduleQuazip = quazip;
|
||||||
|
submoduleNbt = libnbtplusplus;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
apps = {
|
||||||
|
polymc = flake-utils.lib.mkApp {
|
||||||
|
name = "polymc";
|
||||||
|
drv = self.packages.${system}.polymc;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
defaultPackage = self.packages.${system}.polymc;
|
||||||
|
defaultApp = self.apps.${system}.polymc;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user