Limiting the number of fds on the sqlite full build, as it's required by some tests.

svn path=/nixpkgs/trunk/; revision=33792
This commit is contained in:
Lluís Batlle i Rossell 2012-04-15 09:05:09 +00:00
parent 2e753bc4cf
commit e612f476c4

View File

@ -21,6 +21,9 @@ stdenv.mkDerivation {
configureFlags = "--enable-threadsafe --enable-tempstore";
preConfigure = ''
${ # The tests oserror-1.1.{1,2,3} need the fd limit < 2000
# and on the builders in NixOS we have 4096 now.
if stdenv.isLinux then "ulimit -n 1024" else ""}
export TCLLIBDIR=$out/${tcl.libdir}
'';