mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
sftpgo: Include openapi, static and templates folders
Those are needed for serving the web client
(cherry picked from commit 12c32b5583)
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user