1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-21 07:40:07 +00:00
home-manager/modules/programs/firefox/profiles
Zeremonienmeister Berber 4f05ef6a8a
firefox: fix wrong syntax grammar for search setting isAppProvided ()
The or operator is left associative, and since there is another
argument after the first term, the interpreter tries to apply whatever
the or-expression evaluates to.  If the first operand is unset, it
evaluates to removeAttrs, and everything is fine, but if it is set to
a boolean (which is what it should be set to), then it tries to apply
a boolean to arguments, and we get a type error.  Bracketing
explicitly with parentheses fixes this.

It presumably went unnoticed because not many people have tried
setting the option
`programs.firefox.profiles.<profile>.search.engines.<engine>.isAppProvided`.
2025-03-01 08:47:21 -06:00
..
search.nix firefox: fix wrong syntax grammar for search setting isAppProvided () 2025-03-01 08:47:21 -06:00