12 Dec 2024 |
hexa | can you create a poc? | 23:33:51 |
hexa | * can you create a poc so we can take a look at it? | 23:33:56 |
spacekitteh | wouldn't it just be an extra derivation like, home-assistant-source = <whatever the stdenv helper is for just grabbing and unpacking a tarball is as a derivation> and then in the actual homeassistant derivation, src = pkgs.home-assistant-source; ? | 23:35:49 |
hexa | maybe? 😄 | 23:36:34 |
spacekitteh | wait, where does it decompress the soruce code ~900 times? | 23:41:37 |
spacekitteh | # extract translations from pypi sdist
prePatch = ''
tar --extract --gzip --file $sdist --strip-components 1 --wildcards "**/translations"
'';
is that what's being talked about?
| 23:42:25 |
hexa | Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: unpackPhase
unpacking source archive /nix/store/c6fqqhisfzjxb9zi6lrpby3pzs6hbndw-source <------------
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/util/yaml/test_secrets.py
Running phase: patchPhase
| 23:42:40 |
hexa | that is like stdenv.mkDerivation logic | 23:42:57 |
hexa | I don't touch anything before patchPhase really | 23:43:16 |
spacekitteh | right but i mean, which packages is causing it | 23:43:21 |
hexa | maybe it is trivial-builders? | 23:44:10 |
hexa | no it is not | 23:44:19 |
spacekitteh | no no, i mean, what top level package | 23:44:22 |
spacekitteh | is it the actual home-assistant package? | 23:44:31 |
hexa | e.g. home-assistant-component-tests.folder_watcher | 23:44:33 |
spacekitteh | ah | 23:44:39 |
hexa | because they are effectively home-assistant.overridePythonAttrs {} | 23:45:01 |
hexa | to get the same environment as home-assistant but only run the tests | 23:45:15 |
spacekitteh | i'm surprised fetchFromGithub doesn't automatically create a derivation tbh | 23:47:52 |
hexa | all sources are fixed output derivations | 23:51:50 |
spacekitteh | sorry, i mean it doesn't create the derivation for the decompressed src, rather than the compressed src | 23:52:48 |
13 Dec 2024 |
spacekitteh | hmmm. whenever i try to use the homeassistant mobile app to connect to HA behind an nginx reverse proxy, it seems to cause a hang in nginx with zstd compression | 03:37:16 |
14 Dec 2024 |
spacekitteh | in my HA home settings, is there a way to read the lat/long of my home via a sops-nix file? | 03:26:16 |
spacekitteh | oh of course there is, i'm still waking up x3 | 05:01:27 |
16 Dec 2024 |
boolis | how do I enable the wakeword engine in home-assistant?
home-assistant.config.wake_word = {};
home-assistant.extraComponents = [ "wake_word" ];
| 13:33:16 |
hexa | uh, something wyoming? | 14:44:23 |
hexa | take a look at services.wyoming.openwakeword | 14:45:35 |
hexa | then enable the wyoming component in home-assistant | 14:45:43 |
hexa | and connect the two | 14:45:49 |
boolis | oh right, apparently I have that enabled aswell.
I had this working a while back but now it just doesnt | 14:50:46 |