!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
30 Mar 2025
@k900:0upti.meK900Though the UX for that is ... not very good09:59:40
@continous:matrix.orgcontinousI'll try git-ps10:00:38
@continous:matrix.orgcontinousAlso I just noticed I forgot to update the git and license stuff too lol10:01:00
@continous:matrix.orgcontinousAnyways I'll need to shelf it for a short bit and finish my work.10:02:13
@continous:matrix.orgcontinousWhen using SRI instead, should I use sri = instead of sha256 = ?10:37:00
@lucy:nix2twink.gayLucyjust use hash?10:39:58
@continous:matrix.orgcontinousI didn't know that was an option, thanks ^-^10:40:19
@lucy:nix2twink.gayLucyi think that this will become more the standard10:40:45
@continous:matrix.orgcontinousThat I think makes it more intuitive. From my perspective at least.10:41:09
@continous:matrix.orgcontinousI think I've resolved all the issues on my PR.13:10:49
@k900:0upti.meK900
In reply to @continous:matrix.org
I think I've resolved all the issues on my PR.
CI is red
13:11:36
@k900:0upti.meK900(and for good reason) 13:11:47
@continous:matrix.orgcontinousDid I forget a ; lol13:21:24
@k900:0upti.meK900I would highly recommend getting your text editor set up with syntax highlighting13:25:03
@k900:0upti.meK900So you can catch these things before you push13:25:09
@k900:0upti.meK900Also, you can try building it locally first13:25:50
@k900:0upti.meK900 With something like nix-build -A python312Packages.decora-wifi 13:25:59
@continous:matrix.orgcontinousI just didn't notice, which is my bad. I missed a whole bracket end13:26:47
@dustee:matrix.orgdustee joined the room.22:07:41
31 Mar 2025
@evolve:matrix.imp-network.comevolve joined the room.08:45:16
@dustee:matrix.orgdustee

how do i call a local package.nix which is a buildHomeAssistantComponent ?

        customComponents = with pkgs.home-assistant-custom-components; [
          ntfy
          (pkgs.callPackage ./gree-alternative/package.nix {}) # tried this but error
        ];
'lib.customisation.callPackageWith: Function called without required argument "pycryptodome" # callPackage doesnt seem to fill in the python dependencies
12:07:30
@dustee:matrix.orgdustee *

how do i call a local package.nix which is a buildHomeAssistantComponent ?

        customComponents = with pkgs.home-assistant-custom-components; [
          ntfy
          (pkgs.callPackage ./gree-alternative/package.nix {}) # tried this but error
        ];
'lib.customisation.callPackageWith: Function called without required argument "pycryptodome"

callPackage doesnt seem to fill in the python dependencies

12:08:30
@hexa:lossy.network@hexa:lossy.networkconfig.services.home-assistant.package.callPackage12:13:26
@hexa:lossy.network@hexa:lossy.network * config.services.home-assistant.package.callPackage 12:13:29
@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

Show newer messages


Back to Room ListRoom Version: 6