Update readme

This commit is contained in:
Bun 2025-07-22 14:13:14 -04:00
parent 76efcf6748
commit bb138071e4

View file

@ -1,21 +1,12 @@
# Mastodon Glitch Edition # Mastodon Glitch Edition
<https://github.com/glitch-soc/mastodon> <https://github.com/TheEssem/mastodon>
Based on [nixpkgs upstream](https://github.com/NixOS/nixpkgs/tree/master/pkgs/servers/mastodon). Forked from [Nicolas Lenz](https://git.eisfunke.com/config/nixos/-/tree/main/packages/mastodon?ref_type=heads) and [Maus Creacher](https://gitlab.shortcord.com/shortcord/maustodon-flake)
Modifications for the new yarn berry lockfiles and some other improvements stolen and adjusted (with permissions) from [catgirl.cloud](https://git.catgirl.cloud/999eagle/dotfiles-nix/-/tree/main/overlay/mastodon/glitch) (see also https://github.com/NixOS/nixpkgs/issues/277697). Basically just takes the fixes from Nicolas to get OpenSSL to work, and the flake from Maus to package it.
I have, rougly, no clue what anything here does. I spent hours banging my head against the wall to get it to work.
I've also made some further modifications myself to try and simplify the package and better understand it. And now it does!
## Updating ## Updating
The package can be updated to the latest chuckya commit with `update.sh`.
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`