aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 825f747e..47a13ac2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,6 +2,10 @@
description = "PolyMC flake";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
+ inputs.flake-compat = {
+ url = "github:edolstra/flake-compat";
+ flake = false;
+ };
inputs.libnbtplusplus = {
url = "github:multimc/libnbtplusplus";
flake = false;
@@ -17,7 +21,7 @@
pkgs = import nixpkgs {
inherit system;
};
-
+
packages = {
polymc = pkgs.libsForQt5.callPackage ./packages/nix/polymc {
inherit self;
@@ -25,7 +29,8 @@
submoduleNbt = libnbtplusplus;
};
};
-
+
+ # 'nix flake check' fails
overlay = (final: prev: rec {
polymc = prev.libsForQt5.callPackage ./packages/nix/polymc {
inherit self;