- Nov 15, 2012
-
-
Eelco Dolstra authored
vfork() is just too weird. For instance, in this build: http://hydra.nixos.org/build/3330487 the value fromHook.writeSide becomes corrupted in the parent, even though the child only reads from it. At -O0 the problem goes away. Probably the child is overriding some spilled temporary variable. If I get bored I may implement using posix_spawn() instead.
-
Eelco Dolstra authored
Slightly scared of using std::cerr in a vforked process...
-
Eelco Dolstra authored
-
- Nov 09, 2012
-
-
Eelco Dolstra authored
Hopefully this reduces the chance of hitting ‘unable to fork: Cannot allocate memory’ errors. vfork() is used for everything except starting builders.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
They are unnecessary because we set the close-on-exec flag.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Since the called function can return its argument attribute set (e.g. "a"), the latter should not be allocated on the stack. Reported by Shea.
-
Eelco Dolstra authored
Slight optimisation.
-
Eelco Dolstra authored
We have close-on-exec on all FDs now, and there is no security risk in passing open FDs to substituters anyway.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Nov 06, 2012
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Binary caches can now specify a priority in their nix-cache-info file. The binary cache substituter checks caches in order of priority. This is to ensure that fast, static caches like nixos.org/binary-cache are processed before slow, dynamic caches like hydra.nixos.org.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This allows disabling the use of binary caches, e.g. $ nix-build ... --option use-binary-caches false Note that $ nix-build ... --option binary-caches '' does not disable all binary caches, since the caches defined by channels will still be used.
-
Eelco Dolstra authored
It's a mystery why this error is not triggered in the build farm (e.g. http://hydra.nixos.org/build/3265602). Ah well.
-
Shea Levy authored
-
- Oct 23, 2012
-
-
Eelco Dolstra authored
Fixes #57.
-
Eelco Dolstra authored
-
Shea Levy authored
-
- Oct 18, 2012
-
-
Eelco Dolstra authored
-
- Oct 17, 2012
-
-
Eelco Dolstra authored
If ‘--link’ is given, nix-push will create hard links to the NAR files in the store, rather than copying them. This is faster and requires less disk space. However, it doesn't work if the store is on a different file system.
-
Eelco Dolstra authored
This prevents unnecessary and slow rebuilds of NARs that already exist in the binary cache.
-
- Oct 12, 2012
-
-
Eelco Dolstra authored
Reported by Shea.
-
- Oct 11, 2012
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Oct 10, 2012
-
-
Mats Erik Andersson authored
-
- Oct 04, 2012
-
-
Eelco Dolstra authored
Ignoring assertion failures makes some sense for nix-env -qa, but not for nix-instantiate/nix-build or hydra-eval-jobs.
-
Eelco Dolstra authored
This is useful for hydra-eval-jobs.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Oct 03, 2012
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
AFAIK nobody uses this, setuid binaries are evil, and there is no good reason why people can't just run the daemon.
-