mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
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:
parent
0d2dc20762
commit
fbbf99cd0f
@ -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 [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user