summary refs log tree commit diff
path: root/pkgs/development/libraries/librdf
diff options
context:
space:
mode:
authorJosef Kemetmüller <josef.kemetmueller@gmail.com>2018-05-22 02:54:21 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-05-22 18:19:28 +0300
commit79476b58830b6edd1a0cfc801b279767255f471a (patch)
treeb3470612d62581d73d74e974c975c9fa6797179d /pkgs/development/libraries/librdf
parent1bf30c9223a864bd2c039bf21b83735abf06f609 (diff)
downloadnixpkgs-79476b58830b6edd1a0cfc801b279767255f471a.tar
nixpkgs-79476b58830b6edd1a0cfc801b279767255f471a.tar.gz
nixpkgs-79476b58830b6edd1a0cfc801b279767255f471a.tar.bz2
nixpkgs-79476b58830b6edd1a0cfc801b279767255f471a.tar.lz
nixpkgs-79476b58830b6edd1a0cfc801b279767255f471a.tar.xz
nixpkgs-79476b58830b6edd1a0cfc801b279767255f471a.tar.zst
nixpkgs-79476b58830b6edd1a0cfc801b279767255f471a.zip
librdf_redland: 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"]
Diffstat (limited to 'pkgs/development/libraries/librdf')
-rw-r--r--pkgs/development/libraries/librdf/redland.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/librdf/redland.nix b/pkgs/development/libraries/librdf/redland.nix
index 402af5d6f58..766b4aa341f 100644
--- a/pkgs/development/libraries/librdf/redland.nix
+++ b/pkgs/development/libraries/librdf/redland.nix
@@ -28,7 +28,10 @@ stdenv.mkDerivation rec {
 
   configureFlags =
     [ "--with-threads" ]
-    ++ stdenv.lib.optional withBdb "--with-bdb=${db}";
+    ++ stdenv.lib.optionals withBdb [
+      "--with-bdb-include=${db.dev}/include"
+      "--with-bdb-lib=${db.out}/lib"
+    ];
 
   # Fix broken DT_NEEDED in lib/redland/librdf_storage_sqlite.so.
   NIX_CFLAGS_LINK = "-lraptor2";