mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08: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.
(cherry picked from commit d062164ed8)
This commit is contained in:
@@ -82,6 +82,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
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;
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user