Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-23 | Merge remote-tracking branch 'upstream/master' into hash-always-has-type | John Ericson | |
2020-06-19 | WIP: Make Hash always store a valid hash type | John Ericson | |
2020-06-19 | Merge remote-tracking branch 'upstream/master' into no-hash-type-unknown | John Ericson | |
2020-06-19 | Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-19 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-19 | Use designated initializers for `DerivationOutputHash` | John Ericson | |
2020-06-19 | FileSystemHash -> DerivationOutputHash | John Ericson | |
2020-06-18 | Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype | John Ericson | |
2020-06-18 | Merge branch 'no-hash-type-unknown' into validPathInfo-temp | John Ericson | |
2020-06-18 | Revert the `enum struct` change | John Ericson | |
Not a regular git revert as there have been many merges and things. | |||
2020-06-18 | Merge branch 'enum-class' into no-hash-type-unknown | John Ericson | |
2020-06-18 | Merge remote-tracking branch 'upstream/master' into enum-class | John Ericson | |
2020-06-18 | Don't provide 'getFlake' if the 'flakes' feature is not enabled | Eelco Dolstra | |
(cherry picked from commit 0a1d3c1dd311f94e9d1f56e1aa7fe1ab34314ec1) | |||
2020-06-18 | Some backports from the flakes branch | Eelco Dolstra | |
2020-06-18 | Make constant primops lazy | Eelco Dolstra | |
(cherry picked from commit aa0e2a2e70a3519a9dcb9b1da000a13c01aa6cc1) | |||
2020-06-17 | Replace struct StorePath with class StorePath | Matthew Bauer | |
also a similar case with struct Goal | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
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-06-03 | Merge remote-tracking branch 'obsidian/no-hash-type-unknown' into ↵ | John Ericson | |
validPathInfo-ca-proper-datatype | |||
2020-06-02 | Remove `HashType::Unknown` | John Ericson | |
Instead, `Hash` uses `std::optional<HashType>`. In the future, we may also make `Hash` itself require a known hash type, encoraging people to use `std::optional<Hash>` instead. | |||
2020-06-01 | Merge branch 'derivation-header-include-order' of github.com:Ericson2314/nix ↵ | Carlo Nucera | |
into validPathInfo-ca-proper-datatype | |||
2020-06-01 | Merge branch 'no-stringly-typed-derivation-output' of ↵ | Carlo Nucera | |
github.com:Ericson2314/nix into validPathInfo-ca-proper-datatype | |||
2020-05-29 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-05-28 | Fixing the result of merge | Carlo Nucera | |
2020-05-28 | Merge branch 'master' of github.com:NixOS/nix into enum-class | Carlo Nucera | |
2020-05-28 | Merge remote-tracking branch 'me/more-rust-ffi' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
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 'john-ericson/enum-FileIngestionMethod' into ↵ | Carlo Nucera | |
no-stringly-typed-derivation-output | |||
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 | |