cyrus-sasl: ${out} escaping

sasl looked for plugins in '${out}/lib/sasl2', not /nix/store/.../lib/sasl2

svn path=/nixpkgs/trunk/; revision=21005
This commit is contained in:
Yury G. Kudryashov 2010-04-10 20:27:17 +00:00
parent 31d047a83f
commit 46888c922c

View File

@ -1,5 +1,5 @@
args:
with args;
{ stdenv, fetchurl, openssl, db4, gettext} :
stdenv.mkDerivation {
name = "cyrus-sasl-2.1.23";
@ -7,7 +7,9 @@ stdenv.mkDerivation {
url = ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.23.tar.gz;
sha256 = "0dmi41hfy015pzks8n93qsshgvi0az7pv81nls4nxayb810crvr0";
};
configureFlags="--with-openssl=${openssl} --with-plugindir=\${out}/lib/sasl2 --with-configdir=\${out}/lib/sasl2";
preConfigure=''
configureFlags="--with-openssl=${openssl} --with-plugindir=$out/lib/sasl2 --with-configdir=$out/lib/sasl2"
'';
buildInputs = [ openssl db4 gettext ];
patches = [ ./cyrus-sasl-2.1.22-bad-elif.patch ];
}