add nasin-nanpa to mastodon’s public directory
This commit is contained in:
parent
8014a91e54
commit
bdbf7a4b0d
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
|||
{ inputs, pkgs, ...}: rec {
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: rec {
|
||||
nasin-nanpa = pkgs.stdenvNoCC.mkDerivation rec {
|
||||
pname = "nasin-nanpa";
|
||||
version = "2.5.25";
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
Reference in a new issue