mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-24 09:32:34 +03:00
fix: remove default discoverer from discoverers by subsystem
This commit is contained in:
parent
e32c973455
commit
033f894373
@ -5,6 +5,9 @@ in {
|
||||
config = {
|
||||
discoverers = funcs.import_ collectedModules;
|
||||
|
||||
discoverersBySubsystem = funcs.structureBySubsystem config.discoverers;
|
||||
discoverersBySubsystem = funcs.structureBySubsystem (
|
||||
# remove the "default" discoverer we create, as it's not subsystem specific.
|
||||
builtins.removeAttrs config.discoverers ["default"]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user