sftpgo: Include openapi, static and templates folders

Those are needed for serving the web client
This commit is contained in:
Yaya 2023-04-19 13:35:10 +00:00 committed by Yureka
parent 0adbf8feb4
commit 2e2d5659d5

View file

@ -38,6 +38,10 @@ buildGoModule rec {
--bash <($out/bin/sftpgo gen completion bash) \
--zsh <($out/bin/sftpgo gen completion zsh) \
--fish <($out/bin/sftpgo gen completion fish)
shareDirectory="$out/share/sftpgo"
mkdir -p "$shareDirectory"
cp -r ./{openapi,static,templates} "$shareDirectory"
'';
meta = with lib; {