diff --git a/pkgs/top-level/packages-config.nix b/pkgs/top-level/packages-config.nix index fa99c0eead858..9c6534773a191 100644 --- a/pkgs/top-level/packages-config.nix +++ b/pkgs/top-level/packages-config.nix @@ -48,5 +48,15 @@ # This is an alias which we disallow by default; explicitly allow it emacs28Packages = emacs28.pkgs; + + # FIXME: if minetestPackages uses callPackage anywhere, this will not work. Why? + minetestPackages = { + # ContentDB packages are scoped by author + contentDB = recurseIntoAttrs + (lib.mapAttrs + (_: set: recurseIntoAttrs set) + super.minetestPackages.contentDB); + extraPackages = recurseIntoAttrs super.minetestPackages.extraPackages; + }; }; }