Add some build flags

This commit is contained in:
Natsu Kagami 2023-07-16 14:32:57 +02:00
parent a036c9a326
commit 6bcd4877bd
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -9,7 +9,7 @@
in
{
packages.default = pkgs.buildNpmPackage {
pname = "phanpy";
pname = "dtth-phanpy";
version = "0.1.0";
buildInputs = with pkgs; [ git ];
@ -18,6 +18,11 @@
npmDepsHash = "sha256-1c6ZyWIfV4rBnZA7mSNH7ikCbJvbTRS3SacIjBW3yhc=";
# DTTH-specific env variables
VITE_CLIENT_NAME = "DTTH Phanpy";
VITE_CLIENT_ID = "ch.dtth.phanpy";
VITE_WEBSITE = "https://social.dtth.ch";
installPhase = ''
runHook preInstall
mkdir -p $out/lib