vspd: optionally vendor the webapi (public and templates)

This commit is contained in:
2025-12-02 16:40:42 -08:00
parent cf23980135
commit 46048f48ee
4 changed files with 32 additions and 9 deletions
+6
View File
@@ -22,6 +22,12 @@ buildGoModule (finalAttrs: {
"cmd/vspadmin"
];
postInstall = ''
mkdir -p $out/share/vspd/internal/webapi
cp -r internal/webapi/public $out/share/vspd/internal/webapi/
cp -r internal/webapi/templates $out/share/vspd/internal/webapi/
'';
meta = {
homepage = "https://github.com/decred/vspd";
description = "Voting Service Provider Daemon";