fix pkgs.system deprecation

This commit is contained in:
2026-01-12 15:28:38 -05:00
parent aeab0a6f5b
commit b5a63da11e
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
let
# Create pkgs with nix-minecraft overlay and unfree packages allowed
testPkgs = import inputs.nixpkgs {
system = pkgs.system;
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "minecraft-server" ];
overlays = [
inputs.nix-minecraft.overlay