Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-31 | allow reading ICU data | Jude Taylor | 1 | -1/+2 | |
2015-10-30 | add special devices to sandbox-defaults | Jude Taylor | 1 | -1/+4 | |
2015-10-30 | <nix/fetchurl.nix>: Support xz-compressed NARs | Eelco Dolstra | 1 | -0/+3 | |
2015-10-30 | <nix/fetchurl.nix>: Support downloading and unpacking NARs | Eelco Dolstra | 1 | -3/+14 | |
This removes the need to have multiple downloads in the stdenv bootstrap process (like a separate busybox binary for Linux, or curl/mkdir/sh/bzip2 for Darwin). Now all those files can be combined into a single NAR. | |||||
2015-10-29 | int2String() -> std::to_string() | Eelco Dolstra | 2 | -3/+3 | |
2015-10-21 | use nixDataDir instead of appending /share to PREFIX | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | clarifying comment | Jude Taylor | 1 | -1/+5 | |
2015-10-21 | move preBuildHook defaulting to globals.cc | Jude Taylor | 2 | -7/+5 | |
2015-10-21 | restore old DEFAULT_ALLOWED_IMPURE_PREFIXES | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | Add resolve-system-dependencies.pl | Jude Taylor | 2 | -1/+8 | |
2015-10-21 | remove usr paths from allowed inputs | Jude Taylor | 1 | -2/+0 | |
2015-10-21 | allow access to SystemVersion for python builders | Jude Taylor | 1 | -0/+1 | |
2015-10-21 | fix line reading in preBuildHook | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | remove sandbox defaults into a new file | Jude Taylor | 3 | -65/+62 | |
2015-10-21 | restore allowed impure prefixes | Jude Taylor | 1 | -1/+1 | |
2015-10-21 | remove an unneeded default impure-dep | Jude Taylor | 1 | -1/+0 | |
2015-10-21 | make sandbox builds more permissive | Jude Taylor | 1 | -2/+2 | |
2015-10-21 | add a few more permissions | Jude Taylor | 1 | -3/+45 | |
2015-10-21 | Allow builtin fetchurl regardless of the derivation's system attribute | Eelco Dolstra | 1 | -12/+13 | |
2015-10-21 | Show progress indicator for builtin fetchurl | Eelco Dolstra | 3 | -4/+7 | |
2015-10-21 | Disable TLS verification for builtin fetchurl | Eelco Dolstra | 3 | -11/+31 | |
This makes it consistent with the Nixpkgs fetchurl and makes it work in chroots. We don't need verification because the hash of the result is checked anyway. | |||||
2015-10-21 | Fix segfault in builtin fetchurl | Eelco Dolstra | 1 | -3/+7 | |
The stack allocated for the builder was way too small (32 KB). This is sufficient for normal derivations, because they just do some setup and then exec() the actual builder. But for the fetchurl builtin derivation it's not enough. Also, allocating the stack on the caller's stack was fishy business. | |||||
2015-10-08 | Allow building ARMv6 stuff on ARMv7 | Tuomas Tynkkynen | 1 | -0/+1 | |
This allows building a Raspberry Pi image on modern, faster boards. | |||||
2015-10-08 | Revert to CURLOPT_PROGRESSFUNCTION | Eelco Dolstra | 1 | -5/+5 | |
CURLOPT_XFERINFOFUNCTION isn't widely supported yet. http://hydra.nixos.org/build/26679495 | |||||
2015-10-07 | Show progress during downloads | Eelco Dolstra | 1 | -7/+47 | |
2015-10-06 | nix-store --serve: Implement log size limit | Eelco Dolstra | 2 | -2/+4 | |
2015-09-18 | Shut up clang warnings | Eelco Dolstra | 3 | -62/+63 | |
2015-09-03 | Implement buildDerivation() via the daemon | Eelco Dolstra | 2 | -2/+11 | |
2015-09-02 | Filter build-chroot-dirs entries that conflict with derivation outputs | Eelco Dolstra | 1 | -4/+4 | |
Fixes https://github.com/NixOS/nixpkgs/issues/9504. Note that this means we may have a non-functional /bin/sh in the chroot while rebuilding Bash or one of its dependencies. Ideally those packages don't rely on /bin/sh though. | |||||
2015-09-02 | Remove unused variable | Eelco Dolstra | 1 | -5/+0 | |
2015-08-24 | Prevent .chroot from being GC'ed when using LocalStore::buildDerivation() | Eelco Dolstra | 1 | -0/+4 | |
Fixes #616. | |||||
2015-08-21 | nix-collect-garbage: Revive --max-freed | Eelco Dolstra | 2 | -15/+4 | |
Fixes #609. | |||||
2015-08-19 | Remove unneeded HAVE_UNSHARE. | Manolis Ragkousis | 1 | -1/+1 | |
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE. | |||||
2015-08-04 | Don't include <iostream> before config.h | Eelco Dolstra | 1 | -2/+2 | |
This breaks the build on 32-bit systems. http://hydra.nixos.org/build/24373658 | |||||
2015-08-03 | Handle debug messages from runChild() | Eelco Dolstra | 1 | -10/+16 | |
Turns out that "nix-build -vvv" with chroots enabled has been broken for some time, because some debug message got interpreted as an error. | |||||
2015-07-26 | Remove unnecessary parentheses | Eelco Dolstra | 1 | -2/+2 | |
2015-07-23 | Fix fetchurl of executable file | Eelco Dolstra | 1 | -1/+1 | |
Pointed out by @cstrahan, thanks! | |||||
2015-07-21 | Fix Darwin build | Eelco Dolstra | 1 | -1/+4 | |
Turns out getgrouplist() is not POSIX. http://hydra.nixos.org/build/23881243 | |||||
2015-07-20 | Make <nix/fetchurl.nix> a builtin builder | Eelco Dolstra | 6 | -4/+317 | |
This ensures that 1) the derivation doesn't change when Nix changes; 2) the derivation closure doesn't contain Nix and its dependencies; 3) we don't have to rely on ugly chroot hacks. | |||||
2015-07-20 | Provide more detailed info about build status to hydra-queue-runner | Eelco Dolstra | 2 | -47/+75 | |
In particular, hydra-queue-runner can now distinguish between remote build / substitution / already-valid. For instance, if a path already existed on the remote side, we don't want to store a log file. | |||||
2015-07-20 | nix-copy-closure: Add -v flag | Eelco Dolstra | 1 | -1/+3 | |
And make exportPath() less spammy by default. | |||||
2015-07-20 | More cleanup | Eelco Dolstra | 3 | -115/+68 | |
2015-07-17 | OCD: foreach -> C++11 ranged for | Eelco Dolstra | 11 | -335/+331 | |
2015-07-17 | Allow remote builds without sending the derivation closure | Eelco Dolstra | 8 | -143/+300 | |
Previously, to build a derivation remotely, we had to copy the entire closure of the .drv file to the remote machine, even though we only need the top-level derivation. This is very wasteful: the closure can contain thousands of store paths, and in some Hydra use cases, include source paths that are very large (e.g. Git/Mercurial checkouts). So now there is a new operation, StoreAPI::buildDerivation(), that performs a build from an in-memory representation of a derivation (BasicDerivation) rather than from a on-disk .drv file. The only files that need to be in the Nix store are the sources of the derivation (drv.inputSrcs), and the needed output paths of the dependencies (as described by drv.inputDrvs). "nix-store --serve" exposes this interface. Note that this is a privileged operation, because you can construct a derivation that builds any store path whatsoever. Fixing this will require changing the hashing scheme (i.e., the output paths should be computed from the other fields in BasicDerivation, allowing them to be verified without access to other derivations). However, this would be quite nice because it would allow .drv-free building (e.g. "nix-env -i" wouldn't have to write any .drv files to disk). Fixes #173. | |||||
2015-07-02 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2015-07-01 | Preserve supplementary groups of build users | Ludovic Courtès | 1 | -2/+18 | |
The following patch is an attempt to address this bug (see <http://bugs.gnu.org/18994>) by preserving the supplementary groups of build users in the build environment. In practice, I would expect that supplementary groups would contain only one or two groups: the build users group, and possibly the “kvm” group. [Changed &at(0) to data() and removed tabs - Eelco] | |||||
2015-06-30 | GC: Handle ENOSPC creating/moving to the trash directory | Eelco Dolstra | 1 | -8/+23 | |
Issue #564. | |||||
2015-06-22 | Use posix_fallocate to create /nix/var/nix/db/reserved | Eelco Dolstra | 1 | -1/+11 | |
2015-06-22 | Make /nix/var/nix/db/reserved bigger | Eelco Dolstra | 1 | -1/+1 | |
Issue #564. | |||||
2015-06-10 | Export outputPaths function | Eelco Dolstra | 3 | -11/+12 | |
This is useful for the new hydra-queue-runner. |