Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-05-07 | Add option ‘extra-binary-caches’ | Eelco Dolstra | 1 | -1/+10 | |
This allows providing additional binary caches, useful in scripts like Hydra's build reproduction scripts, in particular because untrusted caches are ignored. | |||||
2013-05-03 | nix-copy-closure: Show a proper error message if no host name is given | Eelco Dolstra | 1 | -0/+2 | |
2013-05-03 | Fixing the pv position regarding compression | Lluís Batlle i Rossell | 1 | -1/+1 | |
Problem noticed by niksnut. | |||||
2013-05-03 | Fixing the pv reference; I didn't mean to change it | Lluís Batlle i Rossell | 1 | -1/+1 | |
2013-05-03 | Adding ETA support to the --show-progress in nix-copy-closure | Lluís Batlle i Rossell | 1 | -2/+8 | |
Based on https://github.com/NixOS/nix/pull/6 from shlevy | |||||
2013-04-26 | find-runtime-roots.pl: Don't hardcode /nix/store | Eelco Dolstra | 1 | -1/+2 | |
2013-04-26 | find-runtime-roots.pl: Search process environments for roots | Eelco Dolstra | 1 | -0/+7 | |
For instance, this prevents paths from being deleted that are in use by a "nix-build --run-env" session. | |||||
2013-04-26 | find-runtime-roots.pl: Use Nix::Utils::readFile | Eelco Dolstra | 1 | -19/+15 | |
2013-04-23 | nix-build: Respect --timeout | Eelco Dolstra | 1 | -1/+1 | |
2013-04-23 | Fix --fallback with the binary cache substituter | Eelco Dolstra | 1 | -0/+1 | |
Reported by Peter Simons. | |||||
2013-04-23 | Test NAR info caching | Eelco Dolstra | 1 | -4/+12 | |
2013-03-08 | Revert "Prevent config.h from being clobbered" | Eelco Dolstra | 1 | -2/+3 | |
This reverts commit 28bba8c44f484eae38e8a15dcec73cfa999156f6. | |||||
2013-03-07 | Prevent config.h from being clobbered | Eelco Dolstra | 1 | -3/+2 | |
2013-02-19 | build-remote: Use the --quiet flag | Eelco Dolstra | 1 | -1/+1 | |
‘--option verbosity 0’ doesn't actually do anything. | |||||
2013-01-21 | build-remote.pl: Don't keep build logs on the build slave | Eelco Dolstra | 1 | -2/+3 | |
2013-01-02 | Urgggh | Eelco Dolstra | 1 | -2/+4 | |
http://hydra.nixos.org/build/3661100 | |||||
2013-01-02 | Reinstate the http://nixos.org/binary-cache default for the binary-caches ↵ | Eelco Dolstra | 1 | -2/+2 | |
setting | |||||
2012-12-21 | download-from-binary-cache: Use the channels of the calling user rather than ↵ | Eelco Dolstra | 1 | -1/+3 | |
root This should make live easier for single-user (non-daemon) installations. Note that when the daemon is used, the "calling user" is root so we're not using any untrusted caches. | |||||
2012-12-06 | Set a long SQLite timeout in the binary cache substituter | Eelco Dolstra | 1 | -0/+2 | |
2012-12-05 | Support xz compression of nixexprs.tar in channels | Eelco Dolstra | 1 | -1/+3 | |
2012-11-26 | Undo accidental debug change | Eelco Dolstra | 1 | -1/+1 | |
2012-11-26 | Make "nix-build -A <derivation>.<output>" do the right thing | Eelco Dolstra | 1 | -3/+21 | |
For example, given a derivation with outputs "out", "man" and "bin": $ nix-build -A pkg produces ./result pointing to the "out" output; $ nix-build -A pkg.man produces ./result-man pointing to the "man" output; $ nix-build -A pkg.all produces ./result, ./result-man and ./result-bin; $ nix-build -A pkg.all -A pkg2 produces ./result, ./result-man, ./result-bin and ./result-2. | |||||
2012-11-23 | nix-copy-closure: Add flag ‘--use-substitutes’ | Eelco Dolstra | 1 | -10/+13 | |
2012-11-09 | Use a shorter Nixpkgs channel URL | Eelco Dolstra | 1 | -1/+1 | |
2012-11-06 | download-from-binary-cache: Try next cache if downloading a NAR fails | Eelco Dolstra | 1 | -1/+1 | |
2012-11-06 | Process binary caches in order of priority | Eelco Dolstra | 1 | -7/+14 | |
Binary caches can now specify a priority in their nix-cache-info file. The binary cache substituter checks caches in order of priority. This is to ensure that fast, static caches like nixos.org/binary-cache are processed before slow, dynamic caches like hydra.nixos.org. | |||||
2012-11-06 | nix-push: Handle pushing a symlink | Eelco Dolstra | 1 | -2/+0 | |
2012-11-06 | Add an option ‘use-binary-caches’ | Eelco Dolstra | 1 | -0/+4 | |
This allows disabling the use of binary caches, e.g. $ nix-build ... --option use-binary-caches false Note that $ nix-build ... --option binary-caches '' does not disable all binary caches, since the caches defined by channels will still be used. | |||||
2012-11-06 | Fix "Not an ARRAY reference" error | Eelco Dolstra | 1 | -1/+1 | |
It's a mystery why this error is not triggered in the build farm (e.g. http://hydra.nixos.org/build/3265602). Ah well. | |||||
2012-10-23 | nix-prefetch-url: Improve option handling | Eelco Dolstra | 1 | -3/+20 | |
2012-10-18 | nix-push: Add a flag ‘--manifest-path’ to write the manifest to another ↵ | Eelco Dolstra | 1 | -1/+8 | |
directory | |||||
2012-10-17 | nix-push: Add ‘--link’ flag | Eelco Dolstra | 1 | -1/+8 | |
If ‘--link’ is given, nix-push will create hard links to the NAR files in the store, rather than copying them. This is faster and requires less disk space. However, it doesn't work if the store is on a different file system. | |||||
2012-10-17 | nix-push: Only generate and copy a NAR if it doesn't already exist | Eelco Dolstra | 4 | -64/+49 | |
This prevents unnecessary and slow rebuilds of NARs that already exist in the binary cache. | |||||
2012-10-11 | download-from-binary-cache: Remove duplicate entries in trustedURLs | Eelco Dolstra | 1 | -1/+1 | |
2012-10-03 | When ‘--help’ is given, just run ‘man’ to show the manual page | Eelco Dolstra | 7 | -83/+28 | |
I.e. do what git does. I'm too lazy to keep the builtin help text up to date :-) Also add ‘--help’ to various commands that lacked it (e.g. nix-collect-garbage). | |||||
2012-10-03 | nix-build: Support ‘--repair’ flag | Eelco Dolstra | 1 | -1/+1 | |
2012-10-02 | Add operation ‘nix-store --repair-path’ | Eelco Dolstra | 3 | -8/+11 | |
This operation allows fixing corrupted or accidentally deleted store paths by redownloading them using substituters, if available. Since the corrupted path cannot be replaced atomically, there is a very small time window (one system call) during which neither the old (corrupted) nor the new (repaired) contents are available. So repairing should be used with some care on critical packages like Glibc. | |||||
2012-09-21 | Style fix | Eelco Dolstra | 2 | -6/+6 | |
2012-09-19 | Support xz compression in the download-using-manifests substituter | Eelco Dolstra | 2 | -2/+9 | |
2012-09-13 | nix-collect-garbage: Support --dry-run | Eelco Dolstra | 1 | -3/+6 | |
2012-09-13 | nix-profile.sh: Revert to single-user version | Eelco Dolstra | 1 | -44/+11 | |
Commit 6a214f3e06fa1c5f0a4d40e555f14d87691af297 copied most of the Nix shell initialisation code from NixOS to nix-profile.sh; however, that code assumes a multi-user install and is Linux-specific (e.g. it calls the "stat" command). So go back to the simple single-user version. Fixes #49. | |||||
2012-09-13 | Put a time-to-live on negative binary cache lookups | Eelco Dolstra | 1 | -3/+30 | |
Negative lookups are purged from the DB after a day, at most once per day. However, for non-"have" lookups (e.g. all except "nix-env -qas"), negative lookups are ignored after one hour. This is to ensure that you don't have to wait a day for an operation like "nix-env -i" to start using new binaries in the cache. Should probably make this configurable. | |||||
2012-09-13 | Doh | Eelco Dolstra | 1 | -2/+2 | |
2012-09-13 | nix-channel: Add option to force fetching of manifests | Eelco Dolstra | 1 | -0/+7 | |
2012-09-13 | Delete manifests in "nix-channel --remove" or when a binary cache is available | Eelco Dolstra | 3 | -14/+8 | |
2012-09-12 | Build hook: Pass the timeout to the remote builder | Eelco Dolstra | 1 | -3/+4 | |
Note that this will only work if the client has a very recent Nix version (post 15e1b2c223494ecb5efefc3ea0e3b926a6b1d7dc), otherwise the --option flag will just be ignored. Fixes #50. | |||||
2012-09-12 | Compatibility fix for WWW::Curl < 4.14 | Eelco Dolstra | 1 | -1/+2 | |
Older versions of WWW::Curl don't support scalar references for CURLOPT_WRITEDATA directly. http://hydra.nixos.org/build/3017188 | |||||
2012-09-11 | Support building a derivation if some outputs are already valid | Eelco Dolstra | 1 | -11/+12 | |
This handles the chroot and build hook cases, which are easy. Supporting the non-chroot-build case will require more work (hash rewriting!). Issue #21. | |||||
2012-08-27 | Disable the binary cache substituter by default for now | Eelco Dolstra | 1 | -3/+2 | |
2012-08-27 | Drop dependency on List::MoreUtils | Eelco Dolstra | 1 | -3/+2 | |