aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/writing-nix-expressions.xml
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-30 10:58:04 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-04-30 10:58:04 -0400
commit46cdc6ad51376e2f31ce806ee38e697d00a6e5cb (patch)
treef8bafa8d4c93eb8af99a5b92fe37b6b430ffaa86 /doc/manual/writing-nix-expressions.xml
parentc722193a91cb32f2696d655cf6301cf5ccfae6ce (diff)
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.
Diffstat (limited to 'doc/manual/writing-nix-expressions.xml')
0 files changed, 0 insertions, 0 deletions