firefox-extensions: dont passthru the updateScript when wrapping addons

the unwrapped addon's update script simply doesn't apply to the wrapped addon. otherwise we do silly things like try to update each addon twice
This commit is contained in:
2025-03-27 05:14:39 +00:00
parent 7d92241678
commit f66b37a84f

View File

@@ -28,7 +28,7 @@ let
extid = addon.passthru.extid;
# merge our requirements into the derivation args
args' = args // {
passthru = addon.passthru // (args.passthru or {});
passthru = (builtins.removeAttrs addon.passthru ["updateScript"]) // (args.passthru or {});
nativeBuildInputs = [
jq
strip-nondeterminism