Author: viric
Date: Sun Apr 15 09:05:09 2012
New Revision: 33792
URL: https://nixos.org/websvn/nix/?rev=33792&sc=1

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

Modified:
   nixpkgs/trunk/pkgs/development/libraries/sqlite/full.nix

Modified: nixpkgs/trunk/pkgs/development/libraries/sqlite/full.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/libraries/sqlite/full.nix    Sun Apr 15 
08:11:12 2012        (r33791)
+++ nixpkgs/trunk/pkgs/development/libraries/sqlite/full.nix    Sun Apr 15 
09:05:09 2012        (r33792)
@@ -21,6 +21,9 @@
   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}
   '';
 
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to