firefox: fix policies availability

This commit is contained in:
bricked 2024-09-19 16:22:39 +00:00 committed by GitHub
parent 451606f4a8
commit 87c7d4df16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -330,7 +330,7 @@ in {
description = "Resulting ${cfg.name} package."; description = "Resulting ${cfg.name} package.";
}; };
policies = optionalAttrs (unwrappedPackageName != null) (mkOption { policies = optionalAttrs (wrappedPackageName != null) (mkOption {
inherit visible; inherit visible;
type = types.attrsOf jsonFormat.type; type = types.attrsOf jsonFormat.type;
default = { }; default = { };