Unverified Commit 872bd5a0 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

taler-merchant: fix and enable strictDeps (#407038)

parents e4a89f5c 7fafe930
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@
  autoreconfHook,
  makeWrapper,
  jq,
  libgcrypt,
  texinfo,
  curl,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -42,6 +45,8 @@ stdenv.mkDerivation (finalAttrs: {
    pkg-config
    autoreconfHook
    makeWrapper
    libgcrypt # AM_PATH_LIBGCRYPT
    texinfo # makeinfo
  ];

  buildInputs = taler-exchange.buildInputs ++ [
@@ -51,6 +56,8 @@ stdenv.mkDerivation (finalAttrs: {
    libtool
  ];

  strictDeps = true;

  propagatedBuildInputs = [ gnunet ];

  # From ./bootstrap
@@ -62,6 +69,10 @@ stdenv.mkDerivation (finalAttrs: {
    popd
  '';

  configureFlags = [
    "ac_cv_path__libcurl_config=${lib.getDev curl}/bin/curl-config"
  ];

  # NOTE: The executables that need database access fail to detect the
  # postgresql library in `$out/lib/taler`, so we need to wrap them.
  postInstall = ''