Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-02-17 | Add a test for repairing paths | Eelco Dolstra | 5 | -8/+56 | |
2014-02-14 | download-via-ssh: Use readStorePath | Eelco Dolstra | 2 | -5/+13 | |
2014-02-14 | download-via-ssh: Show where we're downloading from | Eelco Dolstra | 1 | -1/+3 | |
2014-02-14 | Minor style fixes | Eelco Dolstra | 4 | -6/+14 | |
2014-02-14 | Merge remote-tracking branch 'shlevy/ssh-substituter' | Eelco Dolstra | 8 | -0/+271 | |
2014-02-12 | Indendation fix | Shea Levy | 1 | -21/+19 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-12 | Remove relic of old code | Shea Levy | 1 | -2/+0 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-12 | error messages start in lowercase | Shea Levy | 2 | -3/+3 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-12 | Remove using declarations from download-via-ssh | Shea Levy | 1 | -20/+16 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-12 | Document current meaning of preferLocalBuild | Eelco Dolstra | 1 | -5/+8 | |
Closes #208. | |||||
2014-02-10 | Force use of Bash | Eelco Dolstra | 1 | -1/+1 | |
"echo -n" doesn't work with /bin/sh on Darwin. | |||||
2014-02-10 | Binary tarball: Automatically create /nix | Eelco Dolstra | 3 | -37/+117 | |
The tarball can now be unpacked anywhere. The installation script uses "sudo" to create /nix if it doesn't exist. It also fetches the nixpkgs-unstable channel. | |||||
2014-02-10 | nix-store --serve: Use a versioned protocol | Shea Levy | 4 | -34/+102 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-10 | Move StoreApi::serve into opServe | Shea Levy | 3 | -39/+29 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-10 | Pass in params by const ref | Shea Levy | 2 | -2/+2 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-10 | Clarify comment | Shea Levy | 1 | -1/+2 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-10 | Binary tarball: Automatically fetch the Nixpkgs channel | Eelco Dolstra | 1 | -1/+7 | |
2014-02-10 | nix-shell: Use shell.nix as the default expression if it exists | Eelco Dolstra | 2 | -7/+14 | |
2014-02-08 | Add download-via-ssh substituter | Shea Levy | 6 | -0/+168 | |
This substituter connects to a remote host, runs nix-store --serve there, and then forwards substituter commands on to the remote host and sends their results to the calling program. The ssh-substituter-hosts option can be specified as a list of hosts to try. This is an initial implementation and, while it works, it has some limitations: * Only the first host is used * There is no caching of query results (all queries are sent to the remote machine) * There is no informative output (such as progress bars) * Some failure modes may cause unhelpful error messages * There is no concept of trusted-ssh-substituter-hosts Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-08 | nix-store --serve: Flush out after every loop | Shea Levy | 2 | -2/+3 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-08 | nix-store --serve: Use dump instead of export | Shea Levy | 3 | -12/+7 | |
Also remove signing support Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-08 | nix-store --serve: Don't fail if asked for info about non-valid path | Shea Levy | 1 | -0/+2 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-08 | nix-store --serve: Don't loop forever | Shea Levy | 1 | -26/+25 | |
nix-store --export takes a tmproot, which can only release by exiting. Substituters don't currently work in a way that could take advantage of the looping, anyway. Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-08 | Add the nix-store --serve command | Shea Levy | 3 | -0/+55 | |
This is essentially the substituter API operating on the local store, which will be used by the ssh substituter. It runs in a loop rather than just taking one command so that in the future nix will be able to keep one connection open for multiple instances of the substituter. Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-07 | nix-instantiate --eval-only --read-write-mode: Don't depend on ordering | Shea Levy | 1 | -9/+8 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-07 | Rename --no-readonly-mode --read-write-mode | Shea Levy | 2 | -3/+3 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-07 | nix-instantiate: Add a --no-readonly-mode flag | Shea Levy | 2 | -0/+15 | |
This allows running nix-instantiate --eval-only without performing the evaluation in readonly mode, letting features like import from derivation and automatic substitution of builtins.storePath paths work. Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-07 | Fix the RPM build | Eelco Dolstra | 1 | -12/+4 | |
2014-02-07 | Install header files | Eelco Dolstra | 2 | -0/+3 | |
2014-02-07 | Merge commit 'a210c995cdd9279ed4137ec5d2e4cc928cb36097' | Eelco Dolstra | 5 | -26/+33 | |
2014-02-07 | Support DESTDIR | Eelco Dolstra | 3 | -22/+27 | |
2014-02-06 | Remove dead code | Eelco Dolstra | 1 | -3/+0 | |
2014-02-06 | Set a maintainer address | Eelco Dolstra | 1 | -0/+1 | |
Issue #202. | |||||
2014-02-06 | Clean up a test warning | Eelco Dolstra | 1 | -1/+1 | |
2014-02-06 | Drop dependency on ‘expr’ | Eelco Dolstra | 1 | -2/+2 | |
http://hydra.nixos.org/build/8715639 Not sure why this causes a failure now. | |||||
2014-02-06 | Create the target directory of libraries and programs | Eelco Dolstra | 4 | -4/+9 | |
2014-02-04 | Fix version in nix.spec | Eelco Dolstra | 1 | -4/+4 | |
http://hydra.nixos.org/build/8715502 | |||||
2014-02-04 | GNU Make 3.81 compatibility | Eelco Dolstra | 7 | -12/+12 | |
3.81 doesn't understand the ‘define foo =’ syntax, which was added in 3.82. So use ‘define foo’ instead. | |||||
2014-02-04 | GNU Make 3.81 compatibility | Eelco Dolstra | 7 | -12/+12 | |
3.81 doesn't understand the ‘define foo =’ syntax, which was added in 3.82. So use ‘define foo’ instead. | |||||
2014-02-04 | Add nix.spec to the distribution | Eelco Dolstra | 1 | -1/+1 | |
2014-02-03 | Fix assertion failure in ‘nix-store --load-db’ | Eelco Dolstra | 1 | -1/+12 | |
Namely: nix-store: derivations.cc:242: nix::Hash nix::hashDerivationModulo(nix::StoreAPI&, nix::Derivation): Assertion `store.isValidPath(i->first)' failed. This happened because of the derivation output correctness check being applied before the references of a derivation are valid. | |||||
2014-02-03 | Merge commit '8468806552d6730abec6431c42b5b0e897c0222c' | Eelco Dolstra | 1 | -0/+6 | |
2014-02-03 | Add a basic README | Eelco Dolstra | 1 | -0/+6 | |
2014-02-01 | Give a friendly error message if the DB directory is not writable | Eelco Dolstra | 1 | -2/+6 | |
Previously we would say "error: setting synchronous mode: unable to open database file" which isn't very helpful. | |||||
2014-02-01 | Merge branch 'make' | Eelco Dolstra | 85 | -723/+4829 | |
2014-02-01 | Only run "git ls-files" when doing "make check" | Eelco Dolstra | 2 | -2/+4 | |
2014-02-01 | Fix logging test | Eelco Dolstra | 2 | -2/+1 | |
2014-02-01 | Remove obsolete file | Eelco Dolstra | 1 | -43/+0 | |
2014-02-01 | Merge commit '28dc4883356a50f2805a3e3c819a541c44a4ff0a' into make | Eelco Dolstra | 1 | -1/+1 | |
2014-02-01 | Fix the nix-profile test | Eelco Dolstra | 3 | -3/+3 | |