- This also takes into account the transfer of the project and repository
to the matrix-org organisation on GitHub.
- The Node version assertion has been removed because our `pkgs.nodejs`
already points to version 18.
- This replaces the `.nix` lock file (generated with `yarn2nix`) with a
hash-pinned fixed-output derivation, which is simpler to work with.
- This replaces the old "generate.sh" script with one that updates all the
version info and hashes (package.json, source version, source hash,
and Yarn dependencies hash).
This is inspired by the update script used for the
"matrix-appservice-slack" package.
- This switches to srcOnly for node sources.
- Added pkgs.matrix-sdk-crypto-nodejs new required native dependency.
This brings it in line with every other instance of nodejs sources being unpacked like this (see `rg 'tar --no-same-owner --no-same-permissions'`). The extracted node-sources is identical in both cases, however due to this difference in the derivation code, two store paths are produced. At a size of roughly 300MB, that's not exactly negligible.