sftpgo: Include openapi, static and templates folders
Those are needed for serving the web client
This commit is contained in:
parent
0adbf8feb4
commit
2e2d5659d5
1 changed files with 4 additions and 0 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue