Initial commit of a working Chucya flake?

This commit is contained in:
Bun 2025-07-22 14:02:41 -04:00
commit 76efcf6748
10 changed files with 4186 additions and 0 deletions

22
chuckya/source.nix Normal file
View file

@ -0,0 +1,22 @@
/*
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,
lib,
}:
let
versionData = import ./version_data.nix;
in applyPatches {
src = fetchFromGitHub {
owner = "TheEssem";
repo = "mastodon";
inherit (versionData) rev hash;
};
}