diff --git a/pkgs/phanpy/default.nix b/pkgs/phanpy/default.nix index 7824746..07a426e 100644 --- a/pkgs/phanpy/default.nix +++ b/pkgs/phanpy/default.nix @@ -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