diff options
author | Mustafa Çalışkan <muscaln@protonmail.com> | 2022-01-09 09:08:39 +0300 |
---|---|---|
committer | Mustafa Çalışkan <muscaln@protonmail.com> | 2022-01-09 17:08:19 +0300 |
commit | 957cd29dbf303771a6fbef54d37a07c002cd5843 (patch) | |
tree | e71f0cfc77a2eec7ec021d4a7ba69cb544dd23bc /flake.nix | |
parent | 5a09dcae68508b50b2dc5b273141e7016bdcc7da (diff) | |
download | PrismLauncher-957cd29dbf303771a6fbef54d37a07c002cd5843.tar.gz PrismLauncher-957cd29dbf303771a6fbef54d37a07c002cd5843.tar.bz2 PrismLauncher-957cd29dbf303771a6fbef54d37a07c002cd5843.zip |
nix: add support for non-flake builds
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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; |