diff --git a/flake.nix b/flake.nix index a5ffb47..d359d87 100644 --- a/flake.nix +++ b/flake.nix @@ -77,6 +77,18 @@ ]; patchFlags = "-p1 -F5"; }); + + tachikoma-fe-zip = akkoma-frontends.tachikoma-fe.overrideAttrs (final: prev: { + buildInputs = with pkgs; [ + zip + ]; + + installPhase = '' + mkdir $out/ + cd dist + zip -r $out/tachikoma-fe.zip . + ''; + }); }); }; } diff --git a/justfile b/justfile index 646681d..c0dd321 100644 --- a/justfile +++ b/justfile @@ -5,4 +5,7 @@ build-be: nix build .#akkoma.tachikoma build-fe: - nix build .#akkoma-frontends.tachikoma-fe \ No newline at end of file + nix build .#akkoma-frontends.tachikoma-fe + +package-fe: + nix build .#tachikoma-fe-zip \ No newline at end of file