From becfc4fd557f86005f736c64ff76d9dd15f1aff0 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 9 Feb 2010 11:46:27 +0000 Subject: [PATCH] * opendbx: rewrite hack to preConfigure svn path=/nixpkgs/trunk/; revision=19880 --- pkgs/development/libraries/opendbx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/opendbx/default.nix b/pkgs/development/libraries/opendbx/default.nix index 90f454d87bef..a89965d04679 100644 --- a/pkgs/development/libraries/opendbx/default.nix +++ b/pkgs/development/libraries/opendbx/default.nix @@ -7,10 +7,10 @@ stdenv.mkDerivation rec { sha256 = "1pc70l54kkdakdw8njr2pnbcghq7fn2bnk97wzhac2adwdkjp7vs"; }; - configurePhase = '' + preConfigure = '' export CPPFLAGS="-I${mysql}/include/mysql" export LDFLAGS="-L${mysql}/lib/mysql" - ./configure --prefix=$prefix --with-backends="mysql pgsql sqlite3" --disable-dependency-tracking --disable-static + configureFlagsArray=(--with-backends="mysql pgsql sqlite3") ''; buildInputs = [readline mysql postgresql sqlite];