- Aug 27, 2014
-
-
Mikey Ariel authored
-
- Aug 23, 2014
-
-
Eelco Dolstra authored
-
Gergely Risko authored
-
- Aug 21, 2014
-
-
Joel Taylor authored
-
Eelco Dolstra authored
So all these years I was totally deluded about the meaning of "set -e". You might think that it causes statements like "false && true" or "! true" to fail, but it doesn't...
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
It turns out that using clone() to start a child process is unsafe in a multithreaded program. It can cause the initialisation of a build child process to hang in setgroups(), as seen several times in the build farm: The reason is that Glibc thinks that the other threads of the parent exist in the child, so in setxid_mark_thread() it tries to get a futex that has been acquired by another thread just before the clone(). With fork(), Glibc runs pthread_atfork() handlers that take care of this (in particular, __reclaim_stacks()). But clone() doesn't do that. Fortunately, we can use fork()+unshare() instead of clone() to set up private namespaces. See also https://www.mail-archive.com/lxc-devel@lists.linuxcontainers.org/msg03434.html.
-
- Aug 20, 2014
-
-
Eelco Dolstra authored
This was triggered by 47e18584, which turned globals.state into a pointer.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Borrowed from systemd.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
The Nixpkgs stdenv prints some custom escape sequences to denote nesting and stuff like that. Most terminals (e.g. xterm, konsole) ignore them, but some do not (e.g. xfce4-terminal). So for the benefit of the latter, filter them out.
-
- Aug 19, 2014
-
-
Eelco Dolstra authored
-
- Aug 18, 2014
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Aug 17, 2014
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Aug 13, 2014
-
-
Eelco Dolstra authored
This prevents collisions with other users. Fixes #262.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
It's part of Hydra now.
-
Eelco Dolstra authored
C++ chars can be negative...
-
Eelco Dolstra authored
This makes hydra-eval-jobs create roots as regular files. See 1c208f2b.
-
Eelco Dolstra authored
So now nix-instantiate --eval -E '{x}: x' --argstr x -xyzzy correctly prints "-xyzzy", rather than giving an error. Issue NixOS/hydra#176.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Aug 12, 2014
-
-
Eelco Dolstra authored
-
- Aug 07, 2014
-
-
Eelco Dolstra authored
-