update glitch
This commit is contained in:
parent
87ffa71fe4
commit
045c0ed739
8 changed files with 704 additions and 540 deletions
|
@ -1,19 +1,22 @@
|
|||
# This file was generated by pkgs.mastodon.updateScript.
|
||||
{ fetchFromGitHub, applyPatches, patches ? [] }:
|
||||
/*
|
||||
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.
|
||||
*/
|
||||
|
||||
{
|
||||
applyPatches,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "d7d4770";
|
||||
revision = "d7d477047eba7cb88df54dd78f42095ed0fbea76";
|
||||
in
|
||||
(
|
||||
applyPatches {
|
||||
src = fetchFromGitHub {
|
||||
owner = "glitch-soc";
|
||||
repo = "mastodon";
|
||||
rev = "${revision}";
|
||||
hash = "sha256-x1fqDtCOiNS61EhnpObUuxrdTd5n2mhjoGbIYGivbDg=";
|
||||
};
|
||||
patches = patches ++ [./yarn-typescript.patch];
|
||||
}) // {
|
||||
inherit version;
|
||||
yarnHash = "sha256-CIIz5wwWzvDKc/VbSIT7Z5D9kwOLoErXoO0WQWfV/g4=";
|
||||
versionData = import ./version_data.nix;
|
||||
in applyPatches {
|
||||
src = fetchFromGitHub {
|
||||
owner = "glitch-soc";
|
||||
repo = "mastodon";
|
||||
inherit (versionData) rev hash;
|
||||
};
|
||||
patches = [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue