Skip to content

Commit

Permalink
minetestPackages: expose in packages.json
Browse files Browse the repository at this point in the history
  • Loading branch information
fgaz committed Oct 20, 2022
1 parent 00d158e commit ec036a7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/top-level/packages-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};
}

0 comments on commit ec036a7

Please sign in to comment.