Skip to content

Commit

Permalink
xapian-omega: provide xapian template directory
Browse files Browse the repository at this point in the history
These templates are kinda important for the default `omega` CGI server
configuration to work.
  • Loading branch information
Profpatsch committed Oct 29, 2024
1 parent a9d5059 commit 2fcea20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/xapian/tools/omega/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
Expand Down

0 comments on commit 2fcea20

Please sign in to comment.