xapian-omega: provide xapian template directory

These templates are kinda important for the default `omega` CGI server
configuration to work.
This commit is contained in:
Profpatsch 2024-10-29 18:12:35 +01:00
parent a9d5059a81
commit 2fcea20ca0

View File

@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
buildInputs = [ xapian perl pcre2 zlib libmagic ];
nativeBuildInputs = [ pkg-config ];
postInstall = ''
mkdir -p $out/share/omega
cp -r templates $out/share/omega
'';
meta = with lib; {
description = "Indexer and CGI search front-end built on Xapian library";
homepage = "https://xapian.org/";