Initial commit of a working Chucya flake?
This commit is contained in:
commit
76efcf6748
10 changed files with 4186 additions and 0 deletions
22
chuckya/source.nix
Normal file
22
chuckya/source.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue