masto update

This commit is contained in:
Vivian 2024-02-04 14:36:16 +01:00
parent cb4949cc10
commit 71449b62aa
9 changed files with 575 additions and 478 deletions

View file

@ -0,0 +1,15 @@
# Mastodon Glitch Edition
Mostly copied from [nixpkgs upstream](https://github.com/NixOS/nixpkgs/tree/master/pkgs/servers/mastodon).
Modifications for the new yarn berry lockfiles in `default.nix`, `yarn.nix` and `yarn-typescript.patch` stolen (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
Update:
```
./update.sh --owner glitch-soc --repo mastodon --patches "./yarn-typescript.patch" --rev $COMMIT
```
The yarn hash isn't updated automatically due to the lockfile thing, run a build and copy the hash from the error message to source.nix by hand.