Merge pull request #298781 from DoctorDalek1963/firefox-native-messaging-hosts-warning

firefox: update warning about nativeMessagingHosts
This commit is contained in:
Martin Weinelt 2024-03-25 02:21:00 +01:00 committed by GitHub
commit 1c1cd84c82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,7 +67,7 @@ let
deprecatedNativeMessagingHost = option: pkg: deprecatedNativeMessagingHost = option: pkg:
if (cfg.${option} or false) if (cfg.${option} or false)
then 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] [pkg]
else []; else [];