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.
This commit is contained in:
Martin Weinelt 2021-01-07 00:20:39 +01:00
parent 7adf998341
commit 8cb55de7dc
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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;