From 2fcea20ca076cf1b28cf96c8f8ad2056b1c3221f Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 29 Oct 2024 18:12:35 +0100 Subject: [PATCH] xapian-omega: provide xapian template directory These templates are kinda important for the default `omega` CGI server configuration to work. --- pkgs/development/libraries/xapian/tools/omega/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/xapian/tools/omega/default.nix b/pkgs/development/libraries/xapian/tools/omega/default.nix index 0bfb9c6326aab..adde4f0c34209 100644 --- a/pkgs/development/libraries/xapian/tools/omega/default.nix +++ b/pkgs/development/libraries/xapian/tools/omega/default.nix @@ -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/";