Unverified Commit fbbf99cd authored by DoctorDalek1963's avatar DoctorDalek1963
Browse files

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.
parent 0d2dc207
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 [];