about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2015-10-01 nix-prefetch-url: Rewrite in C++Eelco Dolstra6-133/+141
2015-09-27 Merge pull request #654 from utdemir/more-insecure-verify-https-binary-cachesEelco Dolstra1-1/+6
Also set CURLOPT_SSL_VERIFYHOST=0 when "verify-https-binary-caches" is false
2015-09-25 Also set CURLOPT_SSL_VERIFYHOST=0 when "verify-https-binary-caches" is falseUtku Demir1-1/+6
This makes that option even more insecure, by also not checking the SSL host. But without this parameter, one can still get SSL errors even when "verify-https-binary-caches" is false, which is unexpected IMO.
2015-09-25 Merge pull request #653 from vcunat/p/pdf-fixEelco Dolstra1-1/+1
release: fix #652 - PDF build after dblatex updates
2015-09-25 release: fix #652 - PDF build after dblatex updatesVladimír Čunát1-1/+1
... while not changing behavior when used with older nixpkgs.
2015-09-18 Shut up clang warningsEelco Dolstra9-67/+72
2015-09-17 Merge pull request #646 from vcunat/masterEelco Dolstra2-10/+14
nix-env --upgrade improvements
2015-09-17 nix-env --upgrade: show "downgrading" when doing soVladimír Čunát1-2/+4
It was strange to show "upgrading" when the version was getting lower. This is left on "upgrading" when the versions are the same, as I can't see any better wording.
2015-09-17 doc: fix the 'prebuild' typosVladimír Čunát1-2/+2
2015-09-17 nix-env --upgrade: avoid unexpected downgradesVladimír Čunát1-6/+8
Until now, if one explicitly installed a low-priority version, nix-env --upgrade would downgrade it by default and even with --leq. Let's never accept an upgrade with version not matching the upgradeType. Additionally, let's never decrease the priority of an installed package; you can use --install to force that. Also refactor to use variable bestVersion instead of bestName, as only version was used from it.
2015-09-04 Bump versionEelco Dolstra1-1/+1
2015-09-03 Implement buildDerivation() via the daemonEelco Dolstra5-2/+34
2015-09-03 Release notesEelco Dolstra2-0/+65
2015-09-02 Filter build-chroot-dirs entries that conflict with derivation outputsEelco Dolstra1-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 variableEelco Dolstra1-5/+0
2015-09-01 Fix readDir exampleEelco Dolstra1-1/+1
Fixes https://github.com/NixOS/nixos-homepage/issues/46.
2015-08-24 Prevent .chroot from being GC'ed when using LocalStore::buildDerivation()Eelco Dolstra1-0/+4
Fixes #616.
2015-08-21 nix-collect-garbage: Revive --max-freedEelco Dolstra3-18/+11
Fixes #609.
2015-08-19 Merge pull request #608 from Phant0mas/masterEelco Dolstra1-1/+1
Remove unneeded HAVE_UNSHARE.
2015-08-19 Remove unneeded HAVE_UNSHARE.Manolis Ragkousis1-1/+1
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
2015-08-07 Drop newline in error messageEelco Dolstra1-1/+1
2015-08-07 baseNameOf: Enhance `basename` compatibilityKirill Elagin1-3/+12
* If the path ends with a slash, drop it. * If the remaining path doesn’t contain slashes, just return it. Fixes #574.
2015-08-05 Fix exampleEelco Dolstra1-1/+1
2015-08-04 Don't include <iostream> before config.hEelco Dolstra1-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 Dolstra1-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-08-03 Removed unnecessary includedIwan Aucamp1-1/+0
2015-07-31 Fix stack consumptionEelco Dolstra2-8/+3
2015-07-31 Output line number on infinite recursionIwan Aucamp4-13/+17
2015-07-28 Add sort primopEelco Dolstra4-1/+68
2015-07-28 Add primop genListEelco Dolstra3-3/+41
This can be used to implement functions like ‘imap’ (or for that matter, ‘map’) without the quadratic complexity incurred by calling ‘++’ repeatedly.
2015-07-26 Remove unnecessary parenthesesEelco Dolstra1-2/+2
2015-07-24 Add replaceStrings primopEelco Dolstra4-1/+63
This is a generalisation of replaceChars in Nixpkgs.
2015-07-24 Add concatStringsSep as a primopEelco Dolstra3-0/+30
This fixes the quadratic behaviour of concatStrings/concatStringsSep in Nixpkgs.
2015-07-23 CleanupEelco Dolstra2-18/+13
2015-07-23 Optimize empty setsEelco Dolstra3-4/+14
This reduces the number of Bindings allocations by about 10%.
2015-07-23 Fix fetchurl of executable fileEelco Dolstra2-2/+2
Pointed out by @cstrahan, thanks!
2015-07-23 Merge branch 'attr-set-hh' of https://github.com/nbp/nixEelco Dolstra4-94/+142
Conflicts: src/libexpr/eval.cc
2015-07-23 Optimize small listsEelco Dolstra11-121/+157
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.
2015-07-23 Add primops all and anyEelco Dolstra4-0/+67
These are used thousands of times during NixOS evaluation, so it's useful to speed them up.
2015-07-23 Importing derivations: Add name attribute to make a valid drvShea Levy2-3/+5
2015-07-23 Allow derivations-as-srcs in the context of builtins.toFile filesShea Levy1-2/+6
2015-07-23 Add foldl' primopEelco Dolstra3-1/+38
2015-07-23 --version: Print some config infoEelco Dolstra3-2/+28
Such as whether Nix is built with signed binary cache support, and the location of the configuration file.
2015-07-21 Fix Darwin buildEelco Dolstra1-1/+4
Turns out getgrouplist() is not POSIX. http://hydra.nixos.org/build/23881243
2015-07-20 Make <nix/fetchurl.nix> a builtin builderEelco Dolstra9-20/+61
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-runnerEelco Dolstra2-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 flagEelco Dolstra4-3/+15
And make exportPath() less spammy by default.
2015-07-20 Support systemd log severity prefixesEelco Dolstra3-1/+18
This is mostly useful for hydra-queue-runner.
2015-07-20 More cleanupEelco Dolstra9-296/+184
2015-07-17 OCD: foreach -> C++11 ranged forEelco Dolstra30-874/+849