!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

You have reached the beginning of time (for this room).


SenderMessageTime
9 Jan 2025
@hexa:lossy.network@hexa:lossy.networkfuture can most likely be stripped out14:30:30
@qbit:tapenet.org@qbit:tapenet.orgok, if python3Packages.pyicloud builds without futures is it safe to assume it's completely removable? (seems like it would)14:33:34
@hexa:lossy.network@hexa:lossy.networkmost likely14:34:31
@hexa:lossy.network@hexa:lossy.networkbut needs work14:34:33
@qbit:tapenet.org@qbit:tapenet.orghttps://github.com/NixOS/nixpkgs/pull/37239514:46:50
@qbit:tapenet.org@qbit:tapenet.orgdone anyone have an example of overlaying home-assistant's python packages? (pyicloud :P)15:08:01
@qbit:tapenet.org@qbit:tapenet.org
  pyicloud = (_: super: {
    home-assistant.python.pkgs.pyicloud = super.home-assistant.python.pkgs.pyicloud.overrideAttrs (_: {
      propagatedBuildInputs = with super.pkgs.python313Packages; [
        certifi
        click
        keyring
        keyrings-alt
        pytz
        requests
        six
        tzlocal
      ];
    });
  });

.. maybe

15:22:56
@qbit:tapenet.org@qbit:tapenet.org
     error: attribute 'buildPythonPackage' missing
       at /nix/store/hbkwsrx232yhi5n7s7pvl40hcaha64vk-source/pkgs/servers/home-assistant/build-custom-component/default.nix:20:1:
           19| in
           20| home-assistant.python.pkgs.buildPythonPackage (

.. maybe not :D

15:24:50
@hexa:lossy.network@hexa:lossy.networkno clue tbh 😄 15:24:52
@hexa:lossy.network@hexa:lossy.network

nix-repl> home-assistant.python.pkgs.buildPythonPackage
{
  __functionArgs = { ... };
  __functor = «lambda __functor @ /home/hexa/git/nixos/master/lib/trivial.nix:1000:19»;
}
15:25:26
@hexa:lossy.network@hexa:lossy.network *
nix-repl> home-assistant.python.pkgs.buildPythonPackage
{
  __functionArgs = { ... };
  __functor = «lambda __functor @ /home/hexa/git/nixos/master/lib/trivial.nix:1000:19»;
}
15:25:30
@kristijan.zic:matrix.orgKristijanZic joined the room.21:39:27
10 Jan 2025
@hexa:lossy.network@hexa:lossy.network https://github.com/NixOS/nixpkgs/pull/364068#issuecomment-2579149566 dotlambda Mic92 feel free to chime in any time now 00:14:10
@nullcube:matrix.org@nullcube:matrix.org
In reply to@qbit:tapenet.org
done anyone have an example of overlaying home-assistant's python packages? (pyicloud :P)
did you ever figure this out? I'm just now running into this same issue lol
03:15:10
@hexa:lossy.network@hexa:lossy.networkbring your problems and fixes upstream03:18:37
@hexa:lossy.network@hexa:lossy.networkideally03:18:41
@nullcube:matrix.org@nullcube:matrix.orgI mean the fix has been merged I'm just impatient03:19:58
@hexa:lossy.network@hexa:lossy.networkyou can fast forward to an arbitrary commit03:20:30
@hexa:lossy.network@hexa:lossy.network2025.1.2 merged just now fwiw03:20:40
@nullcube:matrix.org@nullcube:matrix.orgYou make a good point lol03:21:12

Show newer messages


Back to Room ListRoom Version: 6