firefox: update warning about nativeMessagingHosts

The warning previously asked users to add a package to
`nativeMessagingHosts.packages` instead of using a particular `cfg`
attribute, but `nativeMessagingHosts` is now a list, so the warning gave
incorrect advice.
This commit is contained in:
DoctorDalek1963 2024-03-25 00:47:02 +00:00
parent 0d2dc20762
commit fbbf99cd0f
No known key found for this signature in database

View File

@ -67,7 +67,7 @@ let
deprecatedNativeMessagingHost = option: pkg:
if (cfg.${option} or false)
then
lib.warn "The cfg.${option} argument for `firefox.override` is deprecated, please add `pkgs.${pkg.pname}` to `nativeMessagingHosts.packages` instead"
lib.warn "The cfg.${option} argument for `firefox.override` is deprecated, please add `pkgs.${pkg.pname}` to `nativeMessagingHosts` instead"
[pkg]
else [];