Fix(clan.nix): create public attributes from 'clan', dont expose them from clanInternals
ClanInternals is already exposed at the toplevel the API can access anything This also deduplicated 'templates' and 'modules' into 'clan.modules' and 'clan.templates' repsectively Only this one path is its source
This commit is contained in:
@@ -150,7 +150,9 @@ in
|
||||
inventory._inventoryFile = file;
|
||||
}
|
||||
];
|
||||
inventory = inventoryLoaded;
|
||||
# Weirdly this works only if it is a function
|
||||
# This seems to be a bug in nixpkgs
|
||||
inventory = _: lib.setDefaultModuleLocation file inventoryLoaded;
|
||||
}
|
||||
)
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
This list is used to guarantee equivalent attribute sets for both flake-parts and buildClan users.
|
||||
*/
|
||||
{
|
||||
# flake.clan.{name} <- clanInternals.{name}
|
||||
# flake.clan.{name} <- clan.{name}
|
||||
clan = [
|
||||
"templates"
|
||||
"modules"
|
||||
|
||||
Reference in New Issue
Block a user