tlaternet-server/lib/default.nix

13 lines
324 B
Nix

{
inputs,
lib,
pkgs,
...
}: let
inherit (lib) makeExtensible foldr attrValues;
tlater-lib = makeExtensible (self: let
callLibs = file: import file {inherit self lib pkgs inputs;};
in {minecraft = callLibs ./minecraft.nix;});
in
tlater-lib.extend (self: super: foldr (a: b: a // b) {} (attrValues super))