Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-12-12 | Ensure we're writing to stderr in the builder | Eelco Dolstra | 3 | -6/+6 | |
http://hydra.nixos.org/build/17862041 | |||||
2014-12-12 | Remove chatty message | Eelco Dolstra | 1 | -2/+0 | |
This broke building with "-vv", because the builder is not allowed to write to stderr at this point. | |||||
2014-12-12 | Doh | Eelco Dolstra | 1 | -1/+1 | |
2014-12-10 | Don't do vfork in conjunction with setuid | Eelco Dolstra | 1 | -0/+2 | |
2014-12-10 | Rename function | Eelco Dolstra | 1 | -4/+4 | |
2014-12-10 | Don't wait for PID -1 | Eelco Dolstra | 1 | -1/+2 | |
The pid field can be -1 if forking the substituter process failed. | |||||
2014-11-24 | Build derivations in a more predictable order | Eelco Dolstra | 1 | -7/+41 | |
Derivations are now built in order of derivation name, so a package named "aardvark" is built before "baboon". Fixes #399. | |||||
2014-11-24 | Don't create unnecessary substitution goals for derivations | Eelco Dolstra | 1 | -0/+5 | |
2014-11-19 | Disable vacuuming the DB after garbage collection | Eelco Dolstra | 1 | -1/+1 | |
Especially in WAL mode on a highly loaded machine, this is not a good idea because it results in a WAL file of approximately the same size ad the database, which apparently cannot be deleted while anybody is accessing it. | |||||
2014-11-19 | Clean up temp roots in a more C++ way | Eelco Dolstra | 3 | -26/+13 | |
2014-11-17 | Fix message | Eelco Dolstra | 1 | -1/+1 | |
2014-11-14 | Don't use ADDR_LIMIT_3GB | Eelco Dolstra | 1 | -1/+1 | |
This gives 32-bit builds on x86_64-linux more memory. | |||||
2014-11-12 | Make ~DerivationGoal more reliable | Eelco Dolstra | 1 | -7/+3 | |
2014-11-04 | nix-store --gc: Don't warn about missing manifests directory | Eelco Dolstra | 1 | -1/+2 | |
2014-10-31 | Improve error message if the daemon worker fails to start | Eelco Dolstra | 1 | -2/+1 | |
2014-10-29 | Remove comments claiming we use a private PID namespace | Eelco Dolstra | 1 | -8/+1 | |
This is no longer the case since 524f89f1399724e596f61faba2c6861b1bb7b9c5. | |||||
2014-10-14 | Improved error message when encountering unsupported file types | Eelco Dolstra | 1 | -3/+3 | |
Fixes #269. | |||||
2014-10-03 | Remove some duplicate code | Eelco Dolstra | 1 | -6/+2 | |
2014-09-18 | Update spec file | Eelco Dolstra | 1 | -1/+1 | |
http://hydra.nixos.org/build/14344391 | |||||
2014-09-18 | Install some pkgconfig files | Eelco Dolstra | 2 | -0/+11 | |
2014-09-17 | On Linux, disable address space randomization | Eelco Dolstra | 1 | -5/+9 | |
2014-09-17 | Settings: Add bool get() | Eelco Dolstra | 3 | -2/+12 | |
2014-09-01 | Add an 'optimiseStore' remote procedure call. | Ludovic Courtès | 6 | -1/+34 | |
2014-08-28 | Add disallowedReferences / disallowedRequisites | Eelco Dolstra | 1 | -26/+29 | |
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 ]; | |||||
2014-08-28 | Introduce allowedRequisites feature | Gergely Risko | 1 | -1/+18 | |
2014-08-21 | fix disappearing bash arguments | Joel Taylor | 1 | -2/+7 | |
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-20 | Use proper quotes everywhere | Eelco Dolstra | 11 | -234/+234 | |
2014-08-20 | Add some color | Eelco Dolstra | 1 | -37/+1 | |
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 | 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 | 1 | -21/+33 | |
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-05 | Remove unnecessary call to addTempRoot() | Eelco Dolstra | 1 | -1/+0 | |
2014-08-05 | Doh | Eelco Dolstra | 1 | -9/+0 | |
2014-08-04 | Move some options out of globals | Eelco Dolstra | 2 | -5/+11 | |
2014-08-04 | Refactor | Eelco Dolstra | 3 | -43/+43 | |
2014-08-04 | Add option ‘build-extra-chroot-dirs’ | Eelco Dolstra | 4 | -13/+9 | |
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 | 1 | -1/+1 | |
2014-08-04 | Make chroot builds easier to set up | Eelco Dolstra | 1 | -0/+3 | |
By default, we now include /bin/sh as a bind-mount of bash. | |||||
2014-08-01 | Remove ugly hack for detecting build environment setup errors | Eelco Dolstra | 1 | -13/+10 | |
2014-08-01 | Call commonChildInit() before doing chroot init | Eelco Dolstra | 1 | -4/+6 | |
This ensures that daemon clients see error messages from the chroot setup. | |||||
2014-08-01 | findRoots(): Prevent a call to lstat() | Eelco Dolstra | 1 | -9/+14 | |
This means that getting the roots from /nix/var/nix/.../hydra-roots doesn't need any I/O other than reading the directory. | |||||
2014-08-01 | Make readDirectory() return inode / file type | Eelco Dolstra | 2 | -19/+15 | |
2014-08-01 | Allow regular files as GC roots | Eelco Dolstra | 1 | -0/+6 | |
If a root is a regular file, then its name must denote a store path. For instance, the existence of the file /nix/var/nix/gcroots/per-user/eelco/hydra-roots/wzc3cy1wwwd6d0dgxpa77ijr1yp50s6v-libxml2-2.7.7 would cause /nix/store/wzc3cy1wwwd6d0dgxpa77ijr1yp50s6v-libxml2-2.7.7 to be a root. This is useful because it involves less I/O (no need for a readlink() call) and takes up less disk space (the symlink target typically takes up a full disk block, while directory entries are packed more efficiently). This is particularly important for hydra.nixos.org, which has hundreds of thousands of roots, and where reading the roots can take 25 minutes. | |||||
2014-07-31 | Restore default SIGPIPE handler before invoking ‘man’ | Eelco Dolstra | 1 | -12/+0 | |
Fixes NixOS/nixpkgs#3410. | |||||
2014-07-25 | nix-daemon: Pass on the user's $SSH_AUTH_SOCK to the SSH substituter | Eelco Dolstra | 3 | -0/+12 | |
2014-07-25 | Change the default for use-ssh-substituter to ‘true’ | Eelco Dolstra | 1 | -2/+2 | |
Now you only have to pass ‘--option ssh-substituter-hosts nix-ssh@bla’ to enable SSH substitution. |