tlaternet-server/lib/default.nix

9 lines
322 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))