home-assistant: don't strip

Neither the home-assistant nor the frontend contain strippable binaries,
but the stripping process will still iterate over 6600+ files and notice
that they're not in a strippable format.

On my 6C/12T desktop CPU this takes slightly over two minutes.
wip/yesman
Martin Weinelt 3 years ago
parent 7adf998341
commit 8cb55de7dc
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 3
      pkgs/servers/home-assistant/default.nix
  2. 3
      pkgs/servers/home-assistant/frontend.nix

@ -71,6 +71,9 @@ in with py.pkgs; buildPythonApplication rec {
# check REQUIRED_PYTHON_VER in homeassistant/const.py
disabled = pythonOlder "3.7.1";
# don't try and fail to strip 6600+ python files, it takes minutes!
dontStrip = true;
inherit availableComponents;
# PyPI tarball is missing tests/ directory

@ -11,6 +11,9 @@ buildPythonPackage rec {
sha256 = "sha256-3JMWugAiVDq/NBgX8ft2Bchim2g493jy7wZvvXrX+Ws=";
};
# there is nothing to strip in this package
dontStrip = true;
# no Python tests implemented
doCheck = false;

Loading…
Cancel
Save