-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
home-assistant fails to load when component doesn't have dependencies #41028
Comments
Are you setting |
Sorry, I should have been clearer. There is a |
I know, but there was only Since the However, using something along the lines of pkgs.home-assistant.override {
extraComponents = [ "notify.matrix" ];
} indeed gives you an error because In your opinion, what would be the ideal way to deal with this case? |
I think we have three options (ordered by difficulty of implementation):
|
How about a mapping of components to other component dependencies so that the parse script can generate the correct entry? I don't know if there are others than the matrix component but it wouldn't be too far fetched to assume that this was the case. So |
There are definitely others, with the most notable one being the history component which depends on the recorder component which requires the SQLAlchemy package. |
The alternative is to define in |
Issue description
Before HA 0.69, the upstream requirements file listed
notify.matrix
however since 0.69 that is no longer the case. As a consequence when trying to add a matrix notifier, things will fail with:Adding in a dummy like this in
component-packages.nix
makes things work again:Cc: @dotlambda
Technical details
The text was updated successfully, but these errors were encountered: