Skip to content

Commit

Permalink
fix(hydra): use plugin name in search path
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 27, 2023
1 parent 72ecc1f commit 58dd768
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hyfi/core/hydra/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def create_config_search_path(

if plugins:
for plugin in plugins:
append_search_path("hyfi-plugin", f"pkg://{plugin}", search_path)
plugin_name = plugin.split(".")[0]
append_search_path(f"hyfi-{plugin_name}", f"pkg://{plugin}", search_path)

if config_module:
path = (
Expand Down

0 comments on commit 58dd768

Please sign in to comment.