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. |
sweber83
left a comment
There was a problem hiding this comment.
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
overrideafter usingoverridePythonAttrs. I had the same problem in #118391 (comment).cc @FRidh
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)