From e612f476c4e68eef88717004f821b12495a7cff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 15 Apr 2012 09:05:09 +0000 Subject: [PATCH] Limiting the number of fds on the sqlite full build, as it's required by some tests. svn path=/nixpkgs/trunk/; revision=33792 --- pkgs/development/libraries/sqlite/full.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/sqlite/full.nix b/pkgs/development/libraries/sqlite/full.nix index 83ca19866ca..ccb960643bd 100644 --- a/pkgs/development/libraries/sqlite/full.nix +++ b/pkgs/development/libraries/sqlite/full.nix @@ -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} '';