| 24 Jan 2025 |
@hexa:lossy.network | hm? | 18:25:13 |
laurynasp | I 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 | sorry, failed to reference original message. reposeted below | 18:27:09 |
@hexa:lossy.network | ah | 18:27:17 |
laurynasp | * sorry, I failed to reference original message. reposeted below | 18:27:19 |
laurynasp | 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 | https://github.com/NixOS/nixpkgs/pull/375798 | 18:27:41 |
@hexa:lossy.network | should have fixed that | 18:27:44 |
@hexa:lossy.network | https://nixpk.gs/pr-tracker.html?pr=375798 | 18:29:12 |
@hexa:lossy.network | has landed in all unstable branches | 18:29:16 |
laurynasp | hm.. I had an impression that the error was seperate from the warning, and the PR seems to fix the warning | 18:29:43 |
laurynasp | ok, I will update my flake and try again | 18:29:57 |
laurynasp | 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 | I 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 locally | 18:53:49 |
@hexa:lossy.network | That fix has not yet landed in a channel I'm afraid | 19:01:59 |
@hexa:lossy.network | https://github.com/NixOS/nixpkgs/pull/376381 | 19:02:40 |
laurynasp | oh that's great it has been merged already | 19:44:40 |
laurynasp | is there a lifehack for easy tracking of nixpkgs PRs for home-assistant eco system? | 19:45:54 |
@hexa:lossy.network | I sometimes post stuff in here | 20:04:16 |
| tcas joined the room. | 20:20:29 |
motiejus | 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 | * 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 | * 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 | autocalling | 21:33:31 |
@hexa:lossy.network | like by-name | 21:33:40 |
@hexa:lossy.network | component-packages.nix is the autogenerated map of integrated components | 21:34:08 |
@hexa:lossy.network | * component-packages.nix is the autogenerated map of integrated components | 21:34:18 |
motiejus | hm, so it's supposed to work then? | 22:47:53 |
motiejus | (if yes, how do I add it to extraComponents?) | 22:48:35 |
@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 |