From f366f3020c08bb5d337e07b025829e44e497872c Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 29 Jun 2010 20:23:17 +0000 Subject: [PATCH] Fix a redland linking problem svn path=/nixpkgs/trunk/; revision=22427 --- pkgs/development/libraries/redland/1.0.10.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/redland/1.0.10.nix b/pkgs/development/libraries/redland/1.0.10.nix index 959581d407e5..6907899edd3f 100644 --- a/pkgs/development/libraries/redland/1.0.10.nix +++ b/pkgs/development/libraries/redland/1.0.10.nix @@ -18,6 +18,10 @@ stdenv.mkDerivation rec { librdf_raptor librdf_rasqal ]; + preConfigure = '' + export NIX_LDFLAGS="$NIX_LDFLAGS -lrasqal -lraptor" + ''; + configureFlags = [ "--with-threads" ] ++ stdenv.lib.optional (bdb != null) "--with-bdb=${bdb}";