Commit 2e2d5659 authored by Yaya's avatar Yaya Committed by Yureka
Browse files

sftpgo: Include openapi, static and templates folders

Those are needed for serving the web client
parent 0adbf8fe
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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; {