Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-18 | Remove unneeded #include | Eelco Dolstra | |
2020-06-18 | github: Respect default branch | Eelco Dolstra | |
2020-06-17 | nix eval: Add --apply flag for post-processing the result | Eelco Dolstra | |
2020-06-17 | InstallableFlake: Show all possible attribute names | Eelco Dolstra | |
E.g. $ nix run nixpkgs#hello error: --- Error ---------- nix flake 'flake:nixpkgs' does not provide attribute 'apps.x86_64-linux.hello' or 'hello' instead of $ nix run nixpkgs#hello error: --- Error ---------- nix flake 'flake:nixpkgs' does not provide attribute 'hello' | |||
2020-06-17 | getFlake -> builtins.getFlake | Eelco Dolstra | |
2020-06-17 | Don't provide 'getFlake' if the 'flakes' feature is not enabled | Eelco Dolstra | |
2020-06-17 | Fix coverage build | Eelco Dolstra | |
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
2020-06-16 | Merge pull request #3702 from NixOS/store-path-cxx | Eelco Dolstra | |
Rewrite StorePath class in C++ | |||
2020-06-16 | Add another missing #include | John Ericson | |
2020-06-16 | StorePath: Rewrite in C++ | Eelco Dolstra | |
On nix-env -qa -f '<nixpkgs>', this reduces maximum RSS by 20970 KiB and runtime by 0.8%. This is mostly because we're not parsing the hash part as a hash anymore (just validating that it consists of base-32 characters). Also, replace storePathToHash() by StorePath::hashPart(). | |||
2020-06-16 | Fix FTP support | Eelco Dolstra | |
Fixes #3618. | |||
2020-06-16 | Fix logging unit tests | Tobias Pflug | |
2020-06-15 | Add mising #include for strerror | John Ericson | |
2020-06-15 | Print only one error message if a build fails | Eelco Dolstra | |
E.g. instead of error: --- BuildError ----------------------------------------------- nix builder for '/nix/store/03nk0a3n8h2948k4lqfgnnmym7knkcma-foo.drv' failed with exit code 1 error: --- Error ---------------------------------------------------- nix build of '/nix/store/03nk0a3n8h2948k4lqfgnnmym7knkcma-foo.drv' failed we now get error: --- Error ---------------------------------------------------- nix builder for '/nix/store/03nk0a3n8h2948k4lqfgnnmym7knkcma-foo.drv' failed with exit code 1 | |||
2020-06-15 | Include only the base name of the program in error messages | Eelco Dolstra | |
2020-06-15 | Respect terminal width printing error messages | Eelco Dolstra | |
2020-06-15 | Cleanup | Eelco Dolstra | |
2020-06-15 | Always hide the progress bar on exit | Eelco Dolstra | |
2020-06-15 | Remove unnecessary amDone() overrides | Eelco Dolstra | |
2020-06-15 | Give better error message about <...> in pure eval mode | Eelco Dolstra | |
2020-06-15 | Improve "waiting for locks" messages | Eelco Dolstra | |
These are now shown in the progress bar. Closes #3577. | |||
2020-06-15 | Remove trailing whitespace | Eelco Dolstra | |
2020-06-15 | Get rid of explicit ErrorInfo constructors | Eelco Dolstra | |
2020-06-15 | Disambiguate BaseError(Args) constructor | Eelco Dolstra | |
This means that 'throw Error({ ... ErrorInfo ... })' now works. | |||
2020-06-15 | Merge branch 'errors-phase-2' of https://github.com/bburdette/nix | Eelco Dolstra | |
2020-06-12 | Use `std::string_view` in a few more places | John Ericson | |
2020-06-12 | Fix build | Eelco Dolstra | |
2020-06-12 | Merge pull request #3674 from matthewbauer/allow-empty-hash2 | Eelco Dolstra | |
Allow empty hash in derivations | |||
2020-06-12 | Provide base argument to to_string | Matthew Bauer | |
2020-06-12 | Add newHashAllowEmpty helper function | Matthew Bauer | |
This replaces the copy&paste with a helper function in hash.hh. | |||
2020-06-12 | Add Store::readDerivation() convenience function | Eelco Dolstra | |
2020-06-12 | Remove Store::queryDerivationOutputNames() | Eelco Dolstra | |
This function was used in only one place, where it could easily be replaced by readDerivation() since it's not performance-critical. (This function appears to have been modelled after queryDerivationOutputs(), which exists only to make the garbage collector faster.) | |||
2020-06-12 | Merge pull request #3670 from gilligan/add-pool-tests | Eelco Dolstra | |
Add tests for pool.hh | |||
2020-06-12 | Check 'follows' inputs | Eelco Dolstra | |
2020-06-11 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-06-11 | diffLockFiles(): Show 'follows' changes | Eelco Dolstra | |
2020-06-11 | Merge pull request #3073 from tweag/machine-logs | Eelco Dolstra | |
Add an option to print the logs in a machine-readable format | |||
2020-06-11 | Move names.{cc,hh} to libstore | Eelco Dolstra | |
2020-06-11 | Shut up warning | Eelco Dolstra | |
2020-06-11 | Style fixes | Eelco Dolstra | |
2020-06-11 | Represent 'follows' inputs explicitly in the lock file | Eelco Dolstra | |
This fixes an issue where lockfile generation was not idempotent: after updating a lockfile, a "follows" node would end up pointing to a new copy of the node, rather than to the original node. | |||
2020-06-10 | Add tests for pool.hh | Tobias Pflug | |
2020-06-10 | Preserve 'isFlake' when not updating a lock file entry | Eelco Dolstra | |
2020-06-10 | Combine lock file update messages | Eelco Dolstra | |
2020-06-10 | Add helper function printInputPath() | Eelco Dolstra | |
2020-06-10 | Merge pull request #3655 from zimbatm/hash-encoding-prepare | Eelco Dolstra | |
libutils/hash: remove default encoding | |||
2020-06-09 | Disable extra-platforms = i686-linux on wsl1 (#3676) | Matthew Bauer | |
WSL1 doesn’t support i686-linux emulation, see https://github.com/microsoft/wsl/issues/2468 | |||
2020-06-09 | Support empty hash in fetchers | Matthew Bauer | |
fetchTarball, fetchTree, and fetchGit all have *optional* hash attrs. This means that we need to be careful with what we allow to avoid accidentally making these defaults. When ‘hash = ""’ we assume the empty hash is wanted. |