Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-08-21 | Fix tests | Eelco Dolstra | 9 | -26/+20 | |
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... | |||||
2014-08-21 | Use PR_SET_PDEATHSIG to ensure child cleanup | Eelco Dolstra | 3 | -3/+13 | |
2014-08-21 | Set a curl timeout on binary cache lookups | Eelco Dolstra | 1 | -0/+1 | |
2014-08-21 | Use unshare() instead of clone() | Eelco Dolstra | 1 | -55/+35 | |
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. | |||||
2014-08-21 | Fix a segfault in ‘nix-env -qa’ | Eelco Dolstra | 1 | -1/+1 | |
This was triggered by 47e185847e729d49e6aa376e8299fd66ef834a0a, which turned globals.state into a pointer. | |||||
2014-08-20 | Flush std::cout before closing stdout | Eelco Dolstra | 1 | -0/+1 | |
2014-08-20 | Use pager for more commands | Eelco Dolstra | 2 | -1/+8 | |
2014-08-20 | Provide reasonable default flags for $LESS | Eelco Dolstra | 1 | -1/+2 | |
Borrowed from systemd. | |||||
2014-08-20 | Merge commit '2aa93858afee22e0c32d8f4366970976374091ac' | Eelco Dolstra | 3 | -1/+26 | |
2014-08-20 | Force template regeneration | Eelco Dolstra | 1 | -2/+2 | |
2014-08-20 | Handle header file instantiation | Eelco Dolstra | 1 | -1/+4 | |
2014-08-20 | Install config.h only once | Eelco Dolstra | 1 | -1/+1 | |
2014-08-20 | Use proper quotes everywhere | Eelco Dolstra | 54 | -543/+548 | |
2014-08-20 | Add some color | Eelco Dolstra | 6 | -52/+56 | |
2014-08-20 | nix-store -l: Automatically pipe output into $PAGER | Eelco Dolstra | 4 | -2/+56 | |
2014-08-20 | Reduce test verbosity | Eelco Dolstra | 1 | -2/+2 | |
2014-08-20 | Filter Nix-specific ANSI escape sequences from stderr | Eelco Dolstra | 1 | -1/+37 | |
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. | |||||
2014-08-19 | Make hook shutdown more reliable | Eelco Dolstra | 1 | -1/+1 | |
2014-08-18 | Fix --attr parsing | Eelco Dolstra | 1 | -1/+3 | |
2014-08-18 | Doh | Eelco Dolstra | 1 | -4/+1 | |
2014-08-17 | Reduce verbosity | Eelco Dolstra | 1 | -1/+2 | |
2014-08-17 | Propagate remote timeouts properly | Eelco Dolstra | 2 | -27/+34 | |
2014-08-17 | nix-build: Propagate exit status from nix-store -r | Eelco Dolstra | 1 | -1/+1 | |
2014-08-17 | build-remote.pl: Provide defaults for $NIX_CURRENT_LOAD and $NIX_REMOTE_SYSTEMS | Eelco Dolstra | 1 | -2/+2 | |
2014-08-17 | Fix download-via-ssh | Eelco Dolstra | 1 | -2/+4 | |
http://hydra.nixos.org/build/13286020 | |||||
2014-08-13 | nix-shell: Use $XDG_RUNTIME_DIR | Eelco Dolstra | 1 | -1/+2 | |
This prevents collisions with other users. Fixes #262. | |||||
2014-08-13 | Use $XDG_RUNTIME_DIR for temporary files | Eelco Dolstra | 8 | -23/+16 | |
2014-08-13 | nix-log2xml: Handle newlines | Eelco Dolstra | 1 | -0/+1 | |
2014-08-13 | Remove log2html.xsl and friends | Eelco Dolstra | 6 | -170/+0 | |
It's part of Hydra now. | |||||
2014-08-13 | nix-log2xml: Handle UTF-8 characters | Eelco Dolstra | 1 | -1/+1 | |
C++ chars can be negative... | |||||
2014-08-13 | Use regular file GC roots if possible | Eelco Dolstra | 1 | -1/+4 | |
This makes hydra-eval-jobs create roots as regular files. See 1c208f2b7ef8ffb5e6d435d703dad83223a67bd6. | |||||
2014-08-13 | Handle compound single dash options properly | Eelco Dolstra | 1 | -15/+14 | |
So now nix-instantiate --eval -E '{x}: x' --argstr x -xyzzy correctly prints "-xyzzy", rather than giving an error. Issue NixOS/hydra#176. | |||||
2014-08-13 | Refactor option handling | Eelco Dolstra | 10 | -537/+509 | |
2014-08-13 | Fix warning about non-existant -I directories | Eelco Dolstra | 1 | -1/+1 | |
2014-08-13 | Remove pointless NIX_LOG_TYPE environment variable | Eelco Dolstra | 2 | -13/+0 | |
2014-08-07 | Warn about untrusted binary caches in extra-binary-caches | Eelco Dolstra | 1 | -2/+5 | |
2014-08-07 | nix-install-package: Use extra-binary-caches | Eelco Dolstra | 1 | -1/+1 | |
2014-08-07 | download-from-binary-cache.pl: Respect $SSL_CERT_FILE | Eelco Dolstra | 1 | -1/+1 | |
2014-08-07 | Add support for order-only dependencies | Eelco Dolstra | 2 | -0/+22 | |
2014-08-07 | install-nix-from-closure.sh: Use https channel if possible | Eelco Dolstra | 1 | -1/+5 | |
2014-08-05 | Remove unnecessary call to addTempRoot() | Eelco Dolstra | 1 | -1/+0 | |
2014-08-05 | Doh | Eelco Dolstra | 2 | -11/+2 | |
2014-08-04 | Move some options out of globals | Eelco Dolstra | 4 | -6/+15 | |
2014-08-04 | Refactor | Eelco Dolstra | 3 | -43/+43 | |
2014-08-04 | Update manual | Eelco Dolstra | 1 | -25/+33 | |
2014-08-04 | Add option ‘build-extra-chroot-dirs’ | Eelco Dolstra | 5 | -14/+10 | |
This is useful for extending (rather than overriding) the default set of chroot paths. | |||||
2014-08-04 | Get rid of "killing <pid>" message for unused build hooks | Eelco Dolstra | 3 | -4/+5 | |
2014-08-04 | Make chroot builds easier to set up | Eelco Dolstra | 2 | -0/+11 | |
By default, we now include /bin/sh as a bind-mount of bash. | |||||
2014-08-04 | Speed up nix-shell | Eelco Dolstra | 1 | -1/+1 | |
2014-08-01 | Remove ugly hack for detecting build environment setup errors | Eelco Dolstra | 1 | -13/+10 | |