Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-19 | Cleanup: Remove unused makeDeb/makeRPM functions | Eelco Dolstra | |
2019-12-18 | nix make-content-addressable: Add --json flag | Eelco Dolstra | |
Fixes #3274. | |||
2019-12-18 | Fix getting the timestamp of GitHub flakes | Eelco Dolstra | |
2019-12-18 | Fix tests.githubFlakes | Eelco Dolstra | |
2019-12-18 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-17 | Add priority setting to stores | Eelco Dolstra | |
This allows overriding the priority of substituters, e.g. $ nix-store --store ~/my-nix/ -r /nix/store/df3m4da96d84ljzxx4mygfshm1p0r2n3-geeqie-1.4 \ --substituters 'http://cache.nixos.org?priority=100 daemon?priority=10' Fixes #3264. | |||
2019-12-16 | Update flake.lock | Eelco Dolstra | |
2019-12-16 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-16 | nix-store -r: Handle symlinks to store paths | Eelco Dolstra | |
Fixes #3270. | |||
2019-12-16 | StorePath::new(): Check store directory | Eelco Dolstra | |
2019-12-15 | Fix cargo test | Eelco Dolstra | |
2019-12-15 | Tweak error message | Eelco Dolstra | |
2019-12-15 | Merge branch 'limit_depth_resolveExprPath' of https://github.com/d-goldin/nix | Eelco Dolstra | |
2019-12-14 | Merge pull request #3269 from xzfc/nix-shell | Eelco Dolstra | |
nix-shell: don't check for "nix-shell" in shebang script name | |||
2019-12-14 | Fix progress bar | Eelco Dolstra | |
2019-12-14 | Fix InstallableCommand | Eelco Dolstra | |
2019-12-14 | Fix 'nix profile' | Eelco Dolstra | |
2019-12-14 | nix-shell: don't check for "nix-shell" in shebang script name | Albert Safin | |
2019-12-13 | Move some code | Eelco Dolstra | |
2019-12-13 | Don't leak exceptions | Eelco Dolstra | |
2019-12-13 | Improve gzip error message | Eelco Dolstra | |
2019-12-13 | Get rid of CBox | Eelco Dolstra | |
2019-12-13 | Validate tarball components | Eelco Dolstra | |
2019-12-13 | Simplify tarball test | Eelco Dolstra | |
2019-12-13 | bugfix: Adding depth limit to resolveExprPath | Dima | |
There is no termination condition for evaluation of cyclical expression paths which can lead to infinite loops. This addresses one spot in the parser in a similar fashion as utils.cc/canonPath does. This issue can be reproduced by something like: ``` ln -s a b ln -s b a nix-instantiate -E 'import ./a' ``` | |||
2019-12-13 | Only install *.sb files on macOS | Eelco Dolstra | |
2019-12-13 | Remove FIXME | Eelco Dolstra | |
2019-12-13 | Simplify | Eelco Dolstra | |
2019-12-13 | Merge branch 'libstore-ssh-better-exec-error-message' of ↵ | Eelco Dolstra | |
https://github.com/Profpatsch/nix | |||
2019-12-13 | Initial gzip support | Tom Bereknyei | |
Closes #3256 | |||
2019-12-12 | libstore/ssh: Improve error message on failing `execvp` | Profpatsch | |
If the `throw` is reached, this means that execvp into `ssh` wasn’t successful. We can hint at a usual problem, which is a missing `ssh` executable. Test with: ``` env PATH= ./result/bin/nix-copy-closure --builders '' unusedhost ``` and the bash version with ``` env PATH= ./result/bin/nix-copy-closure --builders '' localhost ``` | |||
2019-12-12 | Temporarily revert to using 'tar' until we have gzip support | Eelco Dolstra | |
2019-12-11 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-10 | Speed up StorePath::to_string() | Eelco Dolstra | |
1.81% -> 0.56% | |||
2019-12-10 | Speed up base32::decode() | Eelco Dolstra | |
From 1.03% to 0.19% of the runtime of 'nix-instantiate "<nixpkgs>" -A texlive.combined.scheme-full --dry-run'. | |||
2019-12-10 | Make the Store API more type-safe | Eelco Dolstra | |
Most functions now take a StorePath argument rather than a Path (which is just an alias for std::string). The StorePath constructor ensures that the path is syntactically correct (i.e. it looks like <store-dir>/<base32-hash>-<name>). Similarly, functions like buildPaths() now take a StorePathWithOutputs, rather than abusing Path by adding a '!<outputs>' suffix. Note that the StorePath type is implemented in Rust. This involves some hackery to allow Rust values to be used directly in C++, via a helper type whose destructor calls the Rust type's drop() function. The main issue is the dynamic nature of C++ move semantics: after we have moved a Rust value, we should not call the drop function on the original value. So when we move a value, we set the original value to bitwise zero, and the destructor only calls drop() if the value is not bitwise zero. This should be sufficient for most types. Also lots of minor cleanups to the C++ API to make it more modern (e.g. using std::optional and std::string_view in some places). | |||
2019-12-10 | Add StorePath tests | Eelco Dolstra | |
2019-12-10 | Shut up about deprecated functions | Eelco Dolstra | |
2019-12-10 | Shut up warnings | Eelco Dolstra | |
2019-12-10 | Use hyper directly instead of reqwest | Eelco Dolstra | |
2019-12-10 | Update to async/await-enabled tokio | Eelco Dolstra | |
2019-12-10 | Add NAR parser | Eelco Dolstra | |
2019-12-10 | StorePath improvements | Eelco Dolstra | |
2019-12-10 | Add base32 encoder/decoder | Eelco Dolstra | |
2019-12-10 | Move stuff around | Eelco Dolstra | |
2019-12-10 | Drop some dependencies | Eelco Dolstra | |
2019-12-10 | Use rustls | Eelco Dolstra | |
In particular, this enables HTTP/2 support in reqwest, which is a lot more efficient. | |||
2019-12-10 | Basic BinaryCacheStore implementation using async Rust | Eelco Dolstra | |
2019-12-10 | EvalState::callFunction(): Make FunctionCallTrace use less stack space | Eelco Dolstra | |
The FunctionCallTrace object consumes a few hundred bytes of stack space, even when tracing is disabled. This was causing stack overflows: $ nix-instantiate '<nixpkgs> -A texlive.combined.scheme-full --dry-run error: stack overflow (possible infinite recursion) This is with the default stack size of 8 MiB. Putting the object on the heap reduces stack usage to < 5 MiB. | |||
2019-12-09 | Remove UserLock self-lock check | Eelco Dolstra | |
This is no longer needed since we're not using POSIX locks anymore. |