Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-16 | Remove StorePath::clone() and related functions | Eelco Dolstra | |
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-15 | Give better error message about <...> in pure eval mode | Eelco Dolstra | |
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 | Merge pull request #3674 from matthewbauer/allow-empty-hash2 | Eelco Dolstra | |
Allow empty hash in derivations | |||
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-11 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
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-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. | |||
2020-06-09 | Allow empty hash in derivations | Matthew Bauer | |
follow up of https://github.com/NixOS/nix/pull/3544 This allows hash="" so that it can be used for debugging purposes. For instance, this gives you an error message like: warning: found empty hash, assuming you wanted 'sha256:0000000000000000000000000000000000000000000000000000' hash mismatch in fixed-output derivation '/nix/store/asx6qw1r1xk6iak6y6jph4n58h4hdmbm-nix': wanted: sha256:0000000000000000000000000000000000000000000000000000 got: sha256:0fpfhipl9v1mfzw2ffmxiyyzqwlkvww22bh9wcy4qrfslb4jm429 | |||
2020-06-08 | Move progress-bar.cc to libmain | regnat | |
Needed so that we can include it as a logger in loggers.cc without adding a dependency on nix This also requires moving names.hh to libutil to prevent a circular dependency between libmain and libexpr | |||
2020-06-03 | libutils/hash: remove default encoding | zimbatm | |
This will make it easier to reason about the hash encoding and switch to SRI everywhere where possible. | |||
2020-05-29 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-05-27 | Rename some variables named “recursive” to “method” | Matthew Bauer | |
This is much less confusing since recursive is no longer a boolean. | |||
2020-05-26 | Merge remote-tracking branch 'origin/master' into enum-FileIngestionMethod | Carlo Nucera | |
2020-05-14 | formatting | Ben Burdette | |
2020-05-13 | formatting and a few minor changes | Ben Burdette | |
2020-05-12 | convert to logWarning format | Ben Burdette | |
2020-05-12 | move pos to the first arg, to indicate its not used in a fmt template | Ben Burdette | |
2020-05-12 | new pos format for more errors | Ben Burdette | |
2020-05-11 | more pos reporting | Ben Burdette | |
2020-05-11 | new format for pos | Ben Burdette | |
2020-05-11 | fixes to merged code | Ben Burdette | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-08 | add pos to errorinfo, remove from hints | Ben Burdette | |
2020-05-04 | Flag: Use designated initializers | Eelco Dolstra | |
2020-05-03 | convert some printError calls to logError | Ben Burdette | |
2020-04-29 | Fix displaying error-position in `builtins.fetch{Tree,Tarball}` | Maximilian Bosch | |
Without dereferencing this pointer, you'd get an error like this: ``` error: unsupported argument 'abc' to 'fetchTarball', at 0x13627e8 ``` | |||
2020-04-29 | uncrustify formatting | Ben Burdette | |
2020-04-22 | a few more 'format's rremoved | Ben Burdette | |
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-18 | Merge pull request #3502 from NixOS/more-pos | Domen Kožar | |
pass Pos to forceValue to improve infinite recursion error | |||
2020-04-16 | Use RootValue | Eelco Dolstra | |
2020-04-16 | JSONSax: Use a RootValue | Eelco Dolstra | |
More #3377. | |||
2020-04-16 | ValueMap, VectorVector: Use traceable_allocator | Eelco Dolstra | |
We want to *trace* the 'Value *' arrays, not garbage-collect them! Otherwise the vectors/maps can end up pointing to nowhere. Fixes #3377. Closes #3384. | |||
2020-04-16 | Add function to allocate a Value in traceable memory | Eelco Dolstra | |
2020-04-16 | fetchMercurial: Use inputFromAttrs() | Eelco Dolstra | |
2020-04-16 | pass Pos to forceValue to improve infinite recursion error | Domen Kožar | |
2020-04-11 | Merge pull request #3447 from DavHau/improve-tofile-error-msg | Domen Kožar | |
improve toFile error message when containing potential drv path | |||
2020-04-11 | improve toFile error message when containing potential drv path | DavHau | |
2020-04-09 | Attach pos to if expression errors | Domen Kožar | |
2020-04-08 | after flake rebase | Nikola Knezevic | |
2020-04-08 | datatransfer.{cc,hh} -> filetransfer.{cc,hh} | Nikola Knezevic | |
2020-04-08 | DownloadError -> DataTransferError | Nikola Knezevic | |
2020-04-08 | Rename src/lib/download.* to src/lib/datatransfer.* | Nikola Knezevic | |