!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

497 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant128 Servers

Load older messages


SenderMessageTime
31 Mar 2025
@hexa:lossy.network@hexa:lossy.network * config.services.home-assistant.package.python.callPackage 12:13:44
@continous:matrix.orgcontinousAny idea why it is that pythonImportsCheck would fail?12:18:36
@continous:matrix.orgcontinousActually, I may have figured it out.12:19:21
@dustee:matrix.orgdustee
   error: attribute 'callPackage' missing
12:20:06
@dustee:matrix.orgdustee *
        customComponents = [
          (config.services.home-assistant.package.python.callPackage ./gree-alternative/package.nix {})
        ];
   error: attribute 'callPackage' missing
12:20:29
@hexa:lossy.network@hexa:lossy.networkhuh12:20:55
@hexa:lossy.network@hexa:lossy.networkoh, one more!12:21:20
@hexa:lossy.network@hexa:lossy.network config.services.home-assistant.package.python.pkgs.callPackage 12:21:30
@dustee:matrix.orgdusteethat works, thank you12:22:10
@continous:matrix.orgcontinousFor some reason pythonImportsCheck is unable to provide requests, even though it is available in nixpkgs, and I have requests as an input. Any ideas?12:27:26
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/tlyakhov/python-decora_wifi/blob/faaff1ddf2e4c0676fa3bccfbf1639372694b4b5/setup.py#L2612:29:06
@hexa:lossy.network@hexa:lossy.network per this you need to configure dependencies with requests and inflect 12:29:26
@continous:matrix.orgcontinousThat's odd, someone commented removing the dependencies section on my code.12:30:16
@hexa:lossy.network@hexa:lossy.networkchecking12:34:08
@hexa:lossy.network@hexa:lossy.networkhave you tried building the package?12:35:03
@hexa:lossy.network@hexa:lossy.network
decora_wifi/__init__.py
11:import requests
23:        self._session = requests.Session()
12:35:16
@hexa:lossy.network@hexa:lossy.networkbecause it surely requires requests12:35:23
@continous:matrix.orgcontinousYeah it doesn't build now and I couldn't figure out why. The original code worked with dependencies so I'm trying it with dependencies readded.12:36:18
@continous:matrix.orgcontinousMy sloppy built solution that I initial input had requests as a build input.12:37:25
@continous:matrix.orgcontinous* My sloppy built solution that I initial submitted had requests as a build input.12:37:33
@continous:matrix.orgcontinousDependencies fix worked 👍️12:38:39
@continous:matrix.orgcontinousI didn't import inflect in my sloppy initial work, but I'm going to do so now just in case.12:39:01
@continous:matrix.orgcontinousOn a scale of 0-100 how bad is a commit with no changes 😅12:50:21
@k900:0upti.meK900Why would you make a commit with no changes?12:52:06
@continous:matrix.orgcontinousTo have the 3 requested commit messages.12:52:26
@continous:matrix.orgcontinousI feel bad because everyone has been so helpful and I'm just bumbling about in comparison12:53:06
@hexa:lossy.network@hexa:lossy.networkeach commit has a meaning, and as such must have a change12:53:54
@hexa:lossy.network@hexa:lossy.networkif it does not it is because you included the change in an unrelated commit already12:54:07
@continous:matrix.orgcontinousYup. I guest I can split the old commit instead.12:54:36
@continous:matrix.orgcontinousAgain, I really appreciate everyone's help.12:54:52

Show newer messages


Back to Room ListRoom Version: 6