Let's try adding install phase steps to phanpy
This commit is contained in:
parent
5824e00999
commit
9e566f5d50
|
@ -25,6 +25,12 @@ buildNpmPackage rec {
|
||||||
# The prepack script runs the build script, which we'd rather do in the build phase.
|
# The prepack script runs the build script, which we'd rather do in the build phase.
|
||||||
npmPackFlags = ["--ignore-scripts"];
|
npmPackFlags = ["--ignore-scripts"];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir $out
|
||||||
|
npm run build
|
||||||
|
cp dist/index.html $out
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Minimalistic opinionated Mastodon web client.";
|
description = "Minimalistic opinionated Mastodon web client.";
|
||||||
homepage = "https://phanpy.social/";
|
homepage = "https://phanpy.social/";
|
||||||
|
|
Loading…
Reference in a new issue