add nasin-nanpa to mastodon’s public directory

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-14 15:14:21 +01:00
parent 8014a91e54
commit bdbf7a4b0d
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,8 @@
{ inputs, pkgs, ...}: rec {
{
inputs,
pkgs,
...
}: rec {
nasin-nanpa = pkgs.stdenvNoCC.mkDerivation rec {
pname = "nasin-nanpa";
version = "2.5.25";

View file

@ -1,10 +1,11 @@
{
inputs,
pkgs,
}: let
} @ args: let
pname = "mastodon-glitch";
version = inputs.mastodon.lastModifiedDate;
src = inputs.mastodon;
nasin-nanpa = import ../fonts/nasin-nanpa.nix args;
in rec {
mastodon-yarn = (pkgs.callPackage ./yarn.nix {}).offline_cache;
mastodon-gems = pkgs.bundlerEnv {
@ -90,6 +91,7 @@ in rec {
in ''
mkdir -p $out
cp -r * $out/
ln -s ${nasin-nanpa.nasin-nanpa-woff2} $out/public/nasin-nanpa.woff2
ln -s ${run-streaming} $out/run-streaming.sh
'';
};