diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/bookwyrm/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/bookwyrm/default.nix b/pkgs/bookwyrm/default.nix index c043bdf..e4c55bf 100644 --- a/pkgs/bookwyrm/default.nix +++ b/pkgs/bookwyrm/default.nix @@ -2,6 +2,7 @@ , stdenvNoCC , writeShellScriptBin , writeText +, source-han-sans-vf-ttf , bookwyrm-unwrapped , settings ? { } }: @@ -56,6 +57,8 @@ in stdenvNoCC.mkDerivation (finalAttrs: { ./manage.py compile_themes ./manage.py collectstatic --no-input + ln -s ${source-han-sans-vf-ttf}/share/fonts/variable/SourceHanSans-VF.ttf.ttc static/fonts/source_han_sans/ + substituteInPlace contrib/systemd/* \ --replace /opt/bookwyrm/venv/bin/gunicorn ${lib.getExe bookwyrm-unwrapped.gunicorn} \ --replace /opt/bookwyrm/venv/bin/celery ${lib.getExe' bookwyrm-unwrapped.celery "celery"} \ |