| 9 Jan 2025 |
@qbit:tapenet.org | qbit@europa[0]:~/src/nixpkgs(master)% git describe
24.11-pre-105574-g3bc03725b89f
qbit@europa[0]:~/src/nixpkgs(master)% nix build .#python313Packages.pyicloud
error:
… while evaluating the attribute 'drvPath'
at /nix/store/3yrq2rssqls4mgra67i9ja5wfzh2vkqn-source/lib/customisation.nix:416:7:
415| // {
416| drvPath =
| ^
417| assert condition;
… while evaluating the attribute 'drvPath'
at /nix/store/3yrq2rssqls4mgra67i9ja5wfzh2vkqn-source/lib/customisation.nix:416:7:
415| // {
416| drvPath =
| ^
417| assert condition;
… while evaluating 'strict' to select 'drvPath' on it
at /builtin/derivation.nix:1:552:
(stack trace truncated; use '--show-trace' to show the full trace)
error: future-1.0.0 not supported for interpreter python3.13
qbit@europa[1]:~/src/nixpkgs(master)%
| 14:21:30 |
@hexa:lossy.network | future can most likely be stripped out | 14:30:30 |
@qbit:tapenet.org | ok, 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 | most likely | 14:34:31 |
@hexa:lossy.network | but needs work | 14:34:33 |
@qbit:tapenet.org | https://github.com/NixOS/nixpkgs/pull/372395 | 14:46:50 |
@qbit:tapenet.org | done anyone have an example of overlaying home-assistant's python packages? (pyicloud :P) | 15:08:01 |
@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 | 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 | no clue tbh 😄 | 15:24:52 |
@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 | * nix-repl> home-assistant.python.pkgs.buildPythonPackage
{
__functionArgs = { ... };
__functor = «lambda __functor @ /home/hexa/git/nixos/master/lib/trivial.nix:1000:19»;
}
| 15:25:30 |
| KristijanZic joined the room. | 21:39:27 |
| 10 Jan 2025 |
@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 | 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 | bring your problems and fixes upstream | 03:18:37 |
@hexa:lossy.network | ideally | 03:18:41 |
@nullcube:matrix.org | I mean the fix has been merged I'm just impatient | 03:19:58 |
@hexa:lossy.network | you can fast forward to an arbitrary commit | 03:20:30 |
@hexa:lossy.network | 2025.1.2 merged just now fwiw | 03:20:40 |
@nullcube:matrix.org | You make a good point lol | 03:21:12 |
@nullcube:matrix.org | That was going to be my other plan | 03:22:12 |
@qbit:tapenet.org | In reply to @nullcube:matrix.org did you ever figure this out? I'm just now running into this same issue lol Didn't | 03:26:40 |
@nullcube:matrix.org | ah that's fine, I'm just updating my flake lock to nixpkgs master since I'm only using the unstable branch for home assistant anyways | 03:28:23 |
@nullcube:matrix.org | that does mean I am building some stuff though | 03:29:09 |
Sandro 🐧 | FYI https://github.com/NixOS/nixpkgs/pull/372684 | 15:28:27 |
uep | mine arrived too.. any tips/notes for setup? i got it on the network via bt and the phone app, but seemingly i need to add more components to my nixos config before the device will be discovered. i suspect i have to set up esphome first at least? | 22:43:11 |
uep | disclaimer: Saturday morning tinkering without full caffeination yet | 22:44:04 |
@hexa:lossy.network | esphome support yeah | 22:51:34 |
@hexa:lossy.network | and your home-assistant needs to be ipv4 reachable | 22:51:41 |