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";
|
||||
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 {
|
||||
owner = "cheeaun";
|
||||
repo = pname;
|
||||
|
@ -26,6 +20,9 @@ buildNpmPackage rec {
|
|||
npmPackFlags = ["--ignore-scripts"];
|
||||
|
||||
installPhase = ''
|
||||
export PHANPY_DEFAULT_INSTANCE="social.gladtherescake.eu"
|
||||
export PHANPY_CLIENT_NAME="Phanpy on gladtherescake.eu"
|
||||
export PHANPY_WEBSITE="phanpy.gladtherescake.eu"
|
||||
mkdir $out
|
||||
npm run build
|
||||
cp -r dist/* $out
|
||||
|
|
Loading…
Reference in a new issue