1515
1616stdenv . mkDerivation ( finalAttrs : {
1717 pname = "taler-merchant" ;
18- version = "0.13.0 " ;
18+ version = "0.14.1 " ;
1919
2020 src = fetchgit {
2121 url = "https://git.taler.net/merchant.git" ;
2222 rev = "v${ finalAttrs . version } " ;
2323 fetchSubmodules = true ;
24- hash = "sha256-N3atOOE21OEks3G1LPOM5qo/kq0D5D9gmTfURCBZx6M =" ;
24+ hash = "sha256-ac7ajHBLW6BJrL0iaa+b7XNZHMEEmbAo17URIdPSXd8 =" ;
2525 } ;
2626
2727 postUnpack = ''
@@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
3232 # path to the `taler-exchange` package is used.
3333 postPatch = ''
3434 substituteInPlace src/backend/taler-merchant-httpd.c \
35- --replace-fail 'TALER_TEMPLATING_init ("merchant"); ' "TALER_TEMPLATING_init_path (\"merchant\", \"$out/share/taler\"); "
35+ --replace-fail 'TALER_TEMPLATING_init (TALER_MERCHANT_project_data ()) ' "TALER_TEMPLATING_init_path (\"merchant\", \"$out/share/taler\")"
3636
3737 substituteInPlace src/backend/taler-merchant-httpd_spa.c \
3838 --replace-fail 'GNUNET_DISK_directory_scan (dn,' "GNUNET_DISK_directory_scan (\"$out/share/taler/merchant/spa/\","
@@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
6565 # NOTE: The executables that need database access fail to detect the
6666 # postgresql library in `$out/lib/taler`, so we need to wrap them.
6767 postInstall = ''
68- for exec in dbinit httpd webhook wirewatch depositcheck exchange ; do
68+ for exec in dbinit httpd webhook wirewatch depositcheck exchangekeyupdate ; do
6969 wrapProgram $out/bin/taler-merchant-$exec \
7070 --prefix LD_LIBRARY_PATH : "$out/lib/taler"
7171 done
0 commit comments