add blob raccoon emoji
This commit is contained in:
parent
4ecb9aa777
commit
abcb006365
1 changed files with 7 additions and 0 deletions
|
@ -4,18 +4,25 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
raccoon-emoji = pkgs.fetchzip {
|
||||
url = "https://volpeon.ink/art/emojis/raccoon/raccoon.zip";
|
||||
sha256 = "b1986c87e44efcf08abaf2bb818f319e8d3dceb9f2f1a49d50e1c5bfc4434e64";
|
||||
};
|
||||
static_dir = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "akkoma-static";
|
||||
src = pkgs.emptyDirectory;
|
||||
nativeBuildInputs = with pkgs; [xorg.lndir];
|
||||
akkoma_fe = nix-packages.packages.${pkgs.system}.akkoma-fe;
|
||||
akkoma_admin_fe = nix-packages.packages.${pkgs.system}.akkoma-admin-fe;
|
||||
raccoon_emoji = raccoon-emoji;
|
||||
dontUnpack = false;
|
||||
installPhase = ''
|
||||
mkdir -p $out/frontends/pleroma-fe/stable
|
||||
lndir $akkoma_fe $out/frontends/pleroma-fe/stable
|
||||
mkdir -p $out/frontends/admin-fe/stable
|
||||
lndir $akkoma_admin_fe $out/frontends/admin-fe/stable
|
||||
mkdir -p $out/emoji/raccoons
|
||||
lndir $raccoon_emoji $out/emoji/raccoons
|
||||
'';
|
||||
};
|
||||
akkconfig = builtins.replaceStrings ["%AKKOMA_STATIC_DIR%"] ["${static_dir}"] (builtins.readFile ./akkoma.exs);
|
||||
|
|
Loading…
Reference in a new issue