!PbcQeaWcgMyjVfeGQN:nixos.org

Nix Mozilla 🦊🐦🐒

142 Members
A room about a number of weird animals (also known as Mozilla products): Firefox, Thunderbird, Spidermonkey, NSS, cacert. Also a little bit of fun times, small amounts of extreme, when building weird animals. But for bugs please file GitHub issues. | Release Schedule: https://whattrainisitnow.com | Crash-Stats: https://crash-stats.mozilla.org/search/?distribution_id=%3Dnixos&product=Firefox&product=Thunderbird41 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Mar 2025
@nbp:mozilla.orgnbp — PTO I would not think there is any way around using mach, as this is what is used to generate the various build tool files. 14:41:44
@eveeifyeve:matrix.orgeveeifyeve* What's a way we can make it have the full source tree with firefox? since I don't think there is a way to combine firefox + src.14:42:02
@nbp:mozilla.orgnbp — PTO Than I do not know what buildMozillaMach is doing. 14:42:04
@hexa:lossy.networkhexaroughly: mach configure, make, mach package, mach configure make, mach buildsymbols14:44:00
@emilazy:matrix.orgemily well, the package you are replacing has firefoxSrc and assembles a patched Firefox tree with their patching tool. 14:44:07
@hexa:lossy.networkhexa* roughly: mach configure, make, mach package, mach clobber, mach configure make, mach buildsymbols14:44:13
@emilazy:matrix.orgemilyso presumably you need to do that here too.14:44:12
@nbp:mozilla.orgnbp — PTO mach configure might no longer be necessary (IIRC) 14:45:04
@emilazy:matrix.orgemilythough ideally their patch tool could be avoided and we'd just apply them as regular patches, but not sure how viable that is14:45:05
@emilazy:matrix.orgemily maybe it is simple as src/**/*.patch 14:45:24
@gabriel:mozilla.orggabriel changed their display name from gabriel | sick 🤒 to gabriel.14:46:47
@eveeifyeve:matrix.orgeveeifyeve Is there a way of modifying the source directly via the buildMozillaMach since there is only one way of including a source though src 14:51:47
@eveeifyeve:matrix.orgeveeifyeveDo you mean use firefox source and then apply the patches on it.14:53:36
@eveeifyeve:matrix.orgeveeifyeve* Do you mean use firefox source and then apply the patches on it?14:53:39
@emilazy:matrix.orgemily I believe src can be a list, but you can also just do it in a postUnpack/prePatch, same as how the old package did it 14:54:05
@emilazy:matrix.orgemily yes, as far as I can tell all that actually needs doing is applying all their *.patch files to the corresponding Firefox version 14:54:53
@emilazy:matrix.orgemily it seems like their patching tool can add new files from src/ too but I don't see any at a glance 14:55:20
@eveeifyeve:matrix.orgeveeifyeveand apply a custom mozilla config.14:56:23
@emilazy:matrix.orgemily yes, I don't know how that works with buildMozillaMach though 14:56:53
@eveeifyeve:matrix.orgeveeifyeve* and apply a custom mozilla config. https://github.com/zen-browser/desktop/blob/dev/configs/macos/mozconfig14:56:54
@vcunat:matrix.orgvcunat You can put whatever derivation into src =, i.e. construct the desired source in whatever way beforehand. 14:57:13
@vcunat:matrix.orgvcunat * You could alternatively put whatever derivation into src =, i.e. construct the desired source in whatever way beforehand. 14:57:29
@emilazy:matrix.orgemily I am not sure we would want to use their mozconfigs totally verbatim? it may be a good idea to diff them against the upstream ones. but I don't know that much about how the mach build actually works, so I defer to active packagers of Mozilla stuff here 14:58:14
@vcunat:matrix.orgvcunatI've done just routine updates and testing as far as I recall, really.15:00:09
@vcunat:matrix.orgvcunatI don't understand/remember what's happening inside.15:00:33
@eveeifyeve:matrix.orgeveeifyeveHow exactly would that be possible from the firefox source?15:10:26
@eveeifyeve:matrix.orgeveeifyeve* How exactly would that be possible from the firefox source? cause I don't see any functions that would do that.15:10:43
@emilazy:matrix.orgemily buildMozillaMach takes arguments for patches 15:11:08

Show newer messages


Back to Room ListRoom Version: 9