minecraft: Clean up use of pkgs.lib

pull/43/head
Tristan Daniël Maat 2021-05-16 23:07:18 +01:00
parent 458f6c7f7b
commit b8bf3bd3a2
Signed by: tlater
GPG Key ID: 49670FD774E43268
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
let
minecraft-server-args = [
@ -52,7 +52,7 @@ let
in {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (pkgs.lib.getName pkg) [ "forge-server" ];
builtins.elem (lib.getName pkg) [ "forge-server" ];
virtualisation.oci-containers.containers.minecraft-voor-kia = let
properties = ./configs/minecraft/voor-kia/server.properties;