···50 # List of components used in config
51 extraComponents = filter useComponent availableComponents;
5253- testedPackage = if (cfg.autoExtraComponents && cfg.config != null)
54 then (cfg.package.override { inherit extraComponents; })
55 else cfg.package;
56-57- # overridePythonAttrs has to be applied after override
58- package = testedPackage.overridePythonAttrs (oldAttrs: {
59- doCheck = false;
60- });
6162 # If you are changing this, please update the description in applyDefaultConfig
63 defaultConfig = {
···188 };
189190 package = mkOption {
191- default = pkgs.home-assistant;
00192 defaultText = literalExample ''
193- pkgs.home-assistant
00194 '';
195 type = types.package;
196 example = literalExample ''
···199 }
200 '';
201 description = ''
202- Home Assistant package to use. Tests are automatically disabled, as they take a considerable amout of time to complete.
203 Override <literal>extraPackages</literal> or <literal>extraComponents</literal> in order to add additional dependencies.
204 If you specify <option>config</option> and do not set <option>autoExtraComponents</option>
205 to <literal>false</literal>, overriding <literal>extraComponents</literal> will have no effect.
206- Avoid <literal>home-assistant.overridePythonAttrs</literal> if you use
207- <literal>autoExtraComponents</literal>.
208 '';
209 };
210
···50 # List of components used in config
51 extraComponents = filter useComponent availableComponents;
5253+ package = if (cfg.autoExtraComponents && cfg.config != null)
54 then (cfg.package.override { inherit extraComponents; })
55 else cfg.package;
000005657 # If you are changing this, please update the description in applyDefaultConfig
58 defaultConfig = {
···183 };
184185 package = mkOption {
186+ default = pkgs.home-assistant.overrideAttrs (oldAttrs: {
187+ doInstallCheck = false;
188+ });
189 defaultText = literalExample ''
190+ pkgs.home-assistant.overrideAttrs (oldAttrs: {
191+ doInstallCheck = false;
192+ })
193 '';
194 type = types.package;
195 example = literalExample ''
···198 }
199 '';
200 description = ''
201+ Home Assistant package to use. By default the tests are disabled, as they take a considerable amout of time to complete.
202 Override <literal>extraPackages</literal> or <literal>extraComponents</literal> in order to add additional dependencies.
203 If you specify <option>config</option> and do not set <option>autoExtraComponents</option>
204 to <literal>false</literal>, overriding <literal>extraComponents</literal> will have no effect.
205+ Avoid <literal>home-assistant.overridePythonAttrs</literal> if you use <literal>autoExtraComponents</literal>.
0206 '';
207 };
208