lix/src
Eelco Dolstra 46cdc6ad51 Handle EPERM when creating a hard link for the chroot
There is a race condition when doing parallel builds with chroots and
the immutable bit enabled.  One process may call makeImmutable()
before the other has called link(), in which case link() will fail
with EPERM.  We could retry or wrap the operation in a lock, but since
this condition is rare and I'm lazy, we just use the existing copy
fallback.

Fixes #9.
2012-04-30 10:58:04 -04:00
..
bin2c * Sync with the trunk. 2010-04-20 09:20:29 +00:00
boost * Install some headers in the right location. 2009-03-05 14:57:50 +00:00
bsdiff-4.3 Drop the externals directory 2012-03-18 23:54:57 +01:00
libexpr Use Bison 2.5 2012-04-13 14:28:26 +02:00
libmain Ensure that Perl processes delete their entry in the temproots directory 2012-03-13 17:07:49 +01:00
libstore Handle EPERM when creating a hard link for the chroot 2012-04-30 10:58:04 -04:00
libutil Drop the externals directory 2012-03-18 23:54:57 +01:00
nix-env Remove unnecessary "system" argument 2012-04-14 18:48:11 +02:00
nix-hash * Move parseHash16or32 into libutil, and use in nix-hash. 2011-12-02 11:47:06 +00:00
nix-instantiate nix-instantiate: default to "default.nix" if no arguments are given 2012-04-17 17:19:43 +02:00
nix-log2xml * Emit warning='1' or error='1' attributes for lines marked as 2010-03-05 12:54:58 +00:00
nix-setuid-helper * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00
nix-store Include --keep-going in --help 2012-04-04 16:22:32 +02:00
nix-worker Set a few more close-on-exec flags 2012-04-15 00:42:16 +02:00
Makefile.am * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00