update mastodon

This commit is contained in:
Vivian 2025-05-05 16:47:58 +02:00
parent 0eba84a592
commit f6515bc525
3 changed files with 104 additions and 91 deletions

View file

@ -1,8 +1,8 @@
/*
This fetches the glitch-soc source from GitHub and patches it.
This fetches the glitch-soc source from GitHub and patches it.
This needs to be a separately buildable package so that update.sh can build it during upgrading,
because it needs it for generating `gemset.nix` from the Gemfile in the source.
This needs to be a separately buildable package so that update.sh can build it during upgrading,
because it needs it for generating `gemset.nix` from the Gemfile in the source.
*/
{
@ -13,11 +13,13 @@ because it needs it for generating `gemset.nix` from the Gemfile in the source.
let
versionData = import ./version_data.nix;
in applyPatches {
in
applyPatches {
src = fetchFromGitHub {
owner = "glitch-soc";
repo = "mastodon";
inherit (versionData) rev hash;
};
patches = lib.filesystem.listFilesRecursive ./patches;
# patches = lib.filesystem.listFilesRecursive ./patches;
patches = [ ];
}