nix: revert overlay changes and add conditionals to derivation for flake build

This commit is contained in:
Mustafa Çalışkan
2022-01-08 23:06:56 +03:00
parent 9611b92b07
commit 6065b4dcf9
3 changed files with 18 additions and 17 deletions

View File

@ -21,14 +21,13 @@
packages = {
polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc {
inherit self;
isFlakeBuild = true;
submoduleQuazip = quazip;
submoduleNbt = libnbtplusplus;
};
};
overlay = import ./packages/nix/overlay.nix {
inherit self quazip libnbtplusplus;
};
overlay = import ./packages/nix/overlay.nix {};
apps = {
polymc = flake-utils.lib.mkApp {