mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
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:
parent
3213654cf8
commit
d062164ed8
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue