From 7c8705256c3daeeeb062a2c965b77d841ef99a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kemetm=C3=BCller?= Date: Tue, 22 May 2018 01:51:49 +0200 Subject: [PATCH] aprutil: fix db dependency This fixes a regression introduced in 4b06383. [dezgeg squashed in to fit the changes introduced in "db: Use more conventional outputs, also split bin", also patch .la file] --- pkgs/development/libraries/apr-util/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/apr-util/default.nix b/pkgs/development/libraries/apr-util/default.nix index 7e7864cef52c..3c2ff777608d 100644 --- a/pkgs/development/libraries/apr-util/default.nix +++ b/pkgs/development/libraries/apr-util/default.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ] ++ optional (!stdenv.isCygwin) "--with-crypto" ++ optional sslSupport "--with-openssl=${openssl.dev}" - ++ optional bdbSupport "--with-berkeley-db=${db}" + ++ optional bdbSupport "--with-berkeley-db=${db.dev}" ++ optional ldapSupport "--with-ldap=ldap" ++ optionals stdenv.isCygwin [ "--without-pgsql" "--without-sqlite2" "--without-sqlite3" @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { for f in $out/lib/*.la $out/lib/apr-util-1/*.la; do substituteInPlace $f \ --replace "${expat.dev}/lib" "${expat.out}/lib" \ + --replace "${db.dev}/lib" "${db.out}/lib" \ --replace "${openssl.dev}/lib" "${openssl.out}/lib" done