Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-22 | hashed-mirrors: Use parsed derivation output rather than reconstructing it | John Ericson | |
Now the derivation outputs are parsed up front, we can avoid a reparse by doing it. Also, this just feels a bit better as the `output*` env vars are more of a `libnixexpr` interface than `libnixstore` interface: ultimately, it's the derivation outputs that decide whether the derivation is fixed-output. Yes, hashed mirrors might go away with #3689, but this bit of code would be moved rather than deleted, so it's worth doing a cleanup anyways I think. | |||
2020-06-19 | More designated initializers | 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 | Remove unneeded constructor for `DerivationOutputHash` | John Ericson | |
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-19 | Remove some `Base::` that crept in | 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 | Rename content-addressed-paths into ca-derivations | regnat | |
See <https://github.com/NixOS/nix/pull/3710#issuecomment-645480333> | |||
2020-06-17 | Merge pull request #3713 from matthewbauer/cleanup-warnings | Eelco Dolstra | |
Cleanup class StorePath warning | |||
2020-06-17 | Merge pull request #3712 from ↵ | Eelco Dolstra | |
obsidiansystems/make-http-successful-states-coherent Make successful states coherent | |||
2020-06-17 | Remove unused narInfoFile in binary-cache-store | Matthew Bauer | |
2020-06-17 | Replace struct StorePath with class StorePath | Matthew Bauer | |
also a similar case with struct Goal | |||
2020-06-17 | Include review comments | Carlo Nucera | |
2020-06-17 | Merge pull request #3710 from tweag/reserve_ca_derivations | Eelco Dolstra | |
Reserve the `__contentAddressed` derivation parameter | |||
2020-06-17 | Merge pull request #3707 from p01arst0rm/outdated-function-fix | Eelco Dolstra | |
replaced uncaught_exception with uncaught_exceptions | |||
2020-06-17 | fixup! Reserve the `__contentAddressed` derivation parameter | regnat | |
2020-06-17 | Make successful states coherent | Carlo Nucera | |
The successful states used in these two places in the code were slightly different. Should they be the same list? | |||
2020-06-17 | Reserve the `__contentAddressed` derivation parameter | regnat | |
Not implementing anything here, just throwing an error if a derivation sets `__contentAddressed = true` without `--experimental-features content-addressed-paths` (and also with it as there's nothing implemented yet) | |||
2020-06-17 | Merge pull request #3657 from ↵ | Eelco Dolstra | |
obsidiansystems/sligthly-improve-store-path-documentation Clarify the description of StorePath inputs | |||
2020-06-17 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-17 | replaced uncaught_exception with uncaught_exceptions | p01arst0rm | |
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-16 | Fix FTP support | Eelco Dolstra | |
Fixes #3618. | |||
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 | Remove unnecessary amDone() overrides | 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 | 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 | 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-11 | Move names.{cc,hh} to libstore | 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-08 | Unify the printing of the logs between bar-with-logs and raw | regnat | |
Make the printing of the build logs systematically go through the logger, and replicate the behavior of `no-build-output` by having two different loggers (one that prints the build logs and one that doesn't) | |||
2020-06-04 | Fix condition error and make test suite pass | Carlo Nucera | |
2020-06-04 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
no-stringly-typed-derivation-output | |||
2020-06-04 | Use `readString` rather than `>> temporary` | John Ericson | |
Fixed the rest of these before, but this one slipped through. | |||
2020-06-04 | Flip boolean | John Ericson | |
Thanks Matt! | |||
2020-06-04 | Use some `std::optional::has_value` for clarity | John Ericson | |