- Sep 03, 2015
-
-
Eelco Dolstra authored
-
- Sep 02, 2015
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
-
- Sep 01, 2015
-
-
Eelco Dolstra authored
Fixes https://github.com/NixOS/nixos-homepage/issues/46.
-
- Aug 24, 2015
-
-
Eelco Dolstra authored
Fixes #616.
-
- Aug 21, 2015
-
-
Eelco Dolstra authored
Fixes #609.
-
- Aug 19, 2015
-
-
Eelco Dolstra authored
Remove unneeded HAVE_UNSHARE.
-
Manolis Ragkousis authored
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
-
- Aug 07, 2015
-
-
Eelco Dolstra authored
-
Kirill Elagin authored
* If the path ends with a slash, drop it. * If the remaining path doesn’t contain slashes, just return it. Fixes #574.
-
- Aug 05, 2015
-
-
Eelco Dolstra authored
-
- Aug 04, 2015
-
-
Eelco Dolstra authored
This breaks the build on 32-bit systems. http://hydra.nixos.org/build/24373658
-
- Aug 03, 2015
-
-
Eelco Dolstra authored
Turns out that "nix-build -vvv" with chroots enabled has been broken for some time, because some debug message got interpreted as an error.
-
Iwan Aucamp authored
-
- Jul 31, 2015
-
-
Eelco Dolstra authored
-
Iwan Aucamp authored
-
- Jul 28, 2015
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This can be used to implement functions like ‘imap’ (or for that matter, ‘map’) without the quadratic complexity incurred by calling ‘++’ repeatedly.
-
- Jul 26, 2015
-
-
Eelco Dolstra authored
-
- Jul 24, 2015
-
-
Eelco Dolstra authored
This is a generalisation of replaceChars in Nixpkgs.
-
Eelco Dolstra authored
This fixes the quadratic behaviour of concatStrings/concatStringsSep in Nixpkgs.
-
- Jul 23, 2015
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This reduces the number of Bindings allocations by about 10%.
-
Eelco Dolstra authored
Pointed out by @cstrahan, thanks!
-
-
Eelco Dolstra authored
The value pointers of lists with 1 or 2 elements are now stored in the list value itself. In particular, this makes the "concatMap (x: if cond then [(f x)] else [])" idiom cheaper.
-
Eelco Dolstra authored
These are used thousands of times during NixOS evaluation, so it's useful to speed them up.
-
Shea Levy authored
-
Shea Levy authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
Such as whether Nix is built with signed binary cache support, and the location of the configuration file.
-
- Jul 21, 2015
-
-
Eelco Dolstra authored
Turns out getgrouplist() is not POSIX. http://hydra.nixos.org/build/23881243
-
- Jul 20, 2015
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
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.
-
- Jul 19, 2015
-
-
Eelco Dolstra authored
And make exportPath() less spammy by default.
-
Eelco Dolstra authored
This is mostly useful for hydra-queue-runner.
-
Eelco Dolstra authored
-
- Jul 17, 2015
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
Fixes #572.
-