- Sep 04, 2014
-
-
Eelco Dolstra authored
-
- Sep 02, 2014
-
-
Eelco Dolstra authored
Fixes #333.
-
- Sep 01, 2014
-
-
Ludovic Courtès authored
-
- Aug 28, 2014
-
-
Eelco Dolstra authored
For the "stdenv accidentally referring to bootstrap-tools", it seems easier to specify the path that we don't want to depend on, e.g. disallowedRequisites = [ bootstrapTools ];
-
Gergely Risko authored
-
- Aug 21, 2014
-
-
Joel Taylor 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
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
-
- Aug 13, 2014
-
-
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 05, 2014
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Aug 04, 2014
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This is useful for extending (rather than overriding) the default set of chroot paths.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
By default, we now include /bin/sh as a bind-mount of bash.
-
- Aug 01, 2014
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This ensures that daemon clients see error messages from the chroot setup.
-
Eelco Dolstra authored
-