taler-merchant: work around expected paths

Some services expect the `sql` and `templates` directories to be
available under different paths than what's outputted.
This commit is contained in:
eljamm 2025-05-30 10:52:56 +02:00 committed by Valentin Gagarin
parent 3213654cf8
commit d062164ed8

View file

@ -82,6 +82,14 @@ stdenv.mkDerivation (finalAttrs: {
done done
''; '';
postFixup = ''
# - taler-merchant-dbinit expects `versioning.sql` under `share/taler/sql`
# - taler-merchant-httpd expects `share/taler/merchant/templates`
mkdir -p $out/share/taler/sql
ln -s $out/share/taler-merchant $out/share/taler/merchant
ln -s $out/share/taler-merchant/sql $out/share/taler/sql/merchant
'';
enableParallelBuilding = true; enableParallelBuilding = true;
doInstallCheck = true; doInstallCheck = true;