-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
nixos/home-assistant: use override before overridePythonAttrs #118719
Conversation
8db4fc4
to
45fb206
Compare
@dotlambda What I still find a bit problematic, is the case, where the user wants to override the package herself and not only passes the package to the hass module but also to |
Known issue. See NixOS/rfcs#67 (comment) so overrides are sent to the correct function. |
@FRidh |
We could add a warning to the option's description. |
45fb206
to
5e0defc
Compare
Works for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as intended and the warning about overridePythonAttrs
should be helpful.
So, this used to work before, now it breaks. Same when I use
I now get
How can I apply patches after this change? |
@mweinelt Sorry! I guess it makes sense to go back to your original solution using |
@sweber83 What was your initial setup that failed? Did you override the packages some way yourself? |
@mweinelt |
Motivation for this change
f9bd8b1#commitcomment-49202157
@sweber83 Can you check whether this fixes it?
I think you can't use
override
after usingoverridePythonAttrs
. I had the same problem in #118391 (comment).cc @FRidh
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)