Try and build phanpy with path commands in installphase
This commit is contained in:
parent
2e6d9aec60
commit
797a05a51c
|
@ -7,12 +7,6 @@ buildNpmPackage rec {
|
||||||
pname = "phanpy";
|
pname = "phanpy";
|
||||||
version = "2024.04.04.65d51b0";
|
version = "2024.04.04.65d51b0";
|
||||||
|
|
||||||
shellHook = ''
|
|
||||||
export PHANPY_DEFAULT_INSTANCE="social.gladtherescake.eu"
|
|
||||||
export PHANPY_CLIENT_NAME="Phanpy on gladtherescake.eu"
|
|
||||||
export PHANPY_WEBSITE="phanpy.gladtherescake.eu"
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cheeaun";
|
owner = "cheeaun";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
|
@ -26,6 +20,9 @@ buildNpmPackage rec {
|
||||||
npmPackFlags = ["--ignore-scripts"];
|
npmPackFlags = ["--ignore-scripts"];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
export PHANPY_DEFAULT_INSTANCE="social.gladtherescake.eu"
|
||||||
|
export PHANPY_CLIENT_NAME="Phanpy on gladtherescake.eu"
|
||||||
|
export PHANPY_WEBSITE="phanpy.gladtherescake.eu"
|
||||||
mkdir $out
|
mkdir $out
|
||||||
npm run build
|
npm run build
|
||||||
cp -r dist/* $out
|
cp -r dist/* $out
|
||||||
|
|
Loading…
Reference in a new issue