buildMozillaMach: allow overriding requireSigning/allowAddonSideload

This commit is contained in:
Infinidoge 2023-11-25 02:30:25 -05:00
parent 759a7cc50e
commit 491072e797
No known key found for this signature in database

View file

@ -21,6 +21,11 @@
, tests ? []
}:
let
# Rename the variables to prevent infinite recursion
requireSigningDefault = requireSigning;
allowAddonSideloadDefault = allowAddonSideload;
in
{ lib
, pkgs
@ -80,6 +85,10 @@
# optionals
## addon signing/sideloading
, requireSigning ? requireSigningDefault
, allowAddonSideload ? allowAddonSideloadDefault
## debugging
, debugBuild ? false