Let's try adding install phase steps to phanpy

This commit is contained in:
Lillian Violet 2024-04-06 16:03:44 +02:00
parent 5824e00999
commit 9e566f5d50

View file

@ -25,6 +25,12 @@ buildNpmPackage rec {
# The prepack script runs the build script, which we'd rather do in the build phase.
npmPackFlags = ["--ignore-scripts"];
installPhase = ''
mkdir $out
npm run build
cp dist/index.html $out
'';
meta = with lib; {
description = "Minimalistic opinionated Mastodon web client.";
homepage = "https://phanpy.social/";