- Launcher passes wrapGAppsHook3's arguments (GSettings schemas, GIO
modules, XDG_DATA_DIRS) like nixpkgs' electron wrapper; checked.
- node deps: relocate absolute symlinks relative to the link's directory
and fail on any that do not resolve; the runtime prune drops only the
links to the skipped electron package; new symlinksResolve check.
- nix.yml runs on every change that can reach the build, skipping only
docs, tests, mobile and changelog fragments (merge queue too).
nixpkgs' cargo setup hook exports AWS_LC_SYS_USE_SYSTEM=1 for every
buildRustPackage, but the matching defaultCrateOverrides entry only feeds
the legacy buildRustCrate path. aws-lc-sys 0.45 (via reqwest/rustls) then
panicked because no system AWS-LC was in buildInputs. Set
dontCargoUseSystemLibs so it builds its vendored copy instead.
Stop shipping build-only and renderer-only dependencies:
- Vite/Rolldown emits `//#region` comments containing the absolute
node_modules store path. Those strings kept the entire node-deps FOD in
the runtime closure. Strip the path from the built bundles.
- Add scripts/prune-runtime-node-modules.mjs, which walks bun's isolated
layout from the modules the main process actually loads and copies only
that closure.
- Ship the pruned tree at resources/node_modules; the renderer is already
bundled, so app/node_modules is no longer needed.
- Add checks that every runtime specifier resolves and that the bundles no
longer reference the node-deps derivation.
Packaged node_modules drops from 1.2 GiB to 11 MiB and the closure from
3.4 GiB to 1.6 GiB.