update mastodon

This commit is contained in:
Vivian 2025-04-25 15:21:49 +02:00
parent 30325bac2f
commit 9573df8e21
6 changed files with 696 additions and 694 deletions

View file

@ -8,4 +8,14 @@ Modifications for the new yarn berry lockfiles and some other improvements stole
I've also made some further modifications myself to try and simplify the package and better understand it.
The package can be updated to the latest glitch-soc commit with `./update.sh`. The yarn hash in `version_data.nix` has to be adjusted manually afterwards from the error message though.
## Updating
The package can be updated to the latest glitch-soc commit with `update.sh`.
- the `deps.patch` for the yarn lockfile will probably not work anymore
- in that case, delete it before running `update.sh`
- then try to build the package
- when it fails again with a yarn error, run `nix log` to get the full yarn output
- take the diff from there and adjust `deps.patch` accordingly
- also, the yarn hash in `version_data.nix` has to be adjusted manually
- build the package and paste the hash from the error message into `yarnHash`