!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
24 Jan 2025
@hexa:lossy.network@hexa:lossy.networkhm?18:25:13
@laurynasp:matrix.orglaurynaspI can see this as well, but I don't think this is related to whisper. For me it comes up when enabling services.wyoming.openwakeword.enable. 18:26:42
@laurynasp:matrix.orglaurynaspsorry, failed to reference original message. reposeted below18:27:09
@hexa:lossy.network@hexa:lossy.networkah18:27:17
@laurynasp:matrix.orglaurynasp* sorry, I failed to reference original message. reposeted below18:27:19
@laurynasp:matrix.orglaurynasp I think the brackets for concatMap are closing too late (after the list rather than after the function definition) in https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/home-automation/wyoming/openwakeword.nix
I am happy to create a PR, althought it will be my first one for nixpkgs so will probably take me a while to familiarise myself with the procedure#
18:27:33
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/37579818:27:41
@hexa:lossy.network@hexa:lossy.networkshould have fixed that18:27:44
@hexa:lossy.network@hexa:lossy.networkhttps://nixpk.gs/pr-tracker.html?pr=37579818:29:12
@hexa:lossy.network@hexa:lossy.networkhas landed in all unstable branches18:29:16
@laurynasp:matrix.orglaurynasphm.. I had an impression that the error was seperate from the warning, and the PR seems to fix the warning18:29:43
@laurynasp:matrix.orglaurynaspok, I will update my flake and try again18:29:57
@laurynasp:matrix.orglaurynasp

I have updated to nixos-unstable to the most recent commit (i.e. 0aa475546ed21629c4f5bbf90e38c846a99ec9e9) and I am still getting the error (which i think is the same that uep mentioned)

The error is

error:
       … while calling the 'head' builtin
         at /nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/lib/attrsets.nix:1574:11:
         1573|         || pred here (elemAt values 1) (head values) then
         1574|           head values
             |           ^
         1575|         else

       … while evaluating the attribute 'value'
         at /nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/lib/modules.nix:846:9:
          845|     in warnDeprecation opt //
          846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          847|         inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.wyoming-openwakeword.serviceConfig':

       … while evaluating definitions from `/nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/nixos/modules/services/home-automation/wyoming/openwakeword.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: expected a list but found the partially applied built-in function 'concatMap': «partially applied primop concatMap»

18:52:35
@laurynasp:matrix.orglaurynaspI am fairly certain it is the the brackets for concatMap in https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/home-automation/wyoming/openwakeword.nix I will try that locally18:53:49
@hexa:lossy.network@hexa:lossy.networkThat fix has not yet landed in a channel I'm afraid19:01:59
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/37638119:02:40
@laurynasp:matrix.orglaurynaspoh that's great it has been merged already19:44:40
@laurynasp:matrix.orglaurynaspis there a lifehack for easy tracking of nixpkgs PRs for home-assistant eco system?19:45:54
@hexa:lossy.network@hexa:lossy.networkI sometimes post stuff in here20:04:16
@tcas:matrix.orgtcas joined the room.20:20:29
@motiejus:jakstys.ltmotiejus

Hi all. Can someone help me understand why there is pkgs/servers/home-assistant/custom-components/frigate/package.nix, but not in pkgs/servers/home-assistant/component-packages.nix?

I am trying to use frigate in my extraComponents and it unsurprisingly cannot be found. I went through github issues, but couldn't locate anything relevant from the last ~6 months.

21:30:12
@motiejus:jakstys.ltmotiejus *

Hi all. Can someone help me understand why there is pkgs/servers/home-assistant/custom-components/frigate/package.nix, but not in pkgs/servers/home-assistant/component-packages.nix?

I am trying to use frigate in my extraComponents and it unsurprisingly cannot be found. I went through github issues, but couldn't locate anything relevant from the past ~6 months.

21:30:16
@motiejus:jakstys.ltmotiejus *

Hi all. Can someone help me understand why there is pkgs/servers/home-assistant/custom-components/frigate/package.nix, but it's not listed in pkgs/servers/home-assistant/component-packages.nix?

I am trying to use frigate in my extraComponents and it unsurprisingly cannot be found. I went through github issues, but couldn't locate anything relevant from the past ~6 months.

21:30:37
@hexa:lossy.network@hexa:lossy.networkautocalling21:33:31
@hexa:lossy.network@hexa:lossy.networklike by-name21:33:40
@hexa:lossy.network@hexa:lossy.networkcomponent-packages.nix is the autogenerated map of integrated components21:34:08
@hexa:lossy.network@hexa:lossy.network * component-packages.nix is the autogenerated map of integrated components 21:34:18
@motiejus:jakstys.ltmotiejushm, so it's supposed to work then?22:47:53
@motiejus:jakstys.ltmotiejus(if yes, how do I add it to extraComponents?)22:48:35
@hexa:lossy.network@hexa:lossy.network
nix-repl> home-assistant-custom-components.frigate
«derivation /nix/store/l136bbv68aj1z4djiggwd0hasdlbckwg-python3.13-blakeblackshear-frigate-5.4.0.drv»
22:54:30

Show newer messages


Back to Room ListRoom Version: 6