Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-17 | Add StorePathCAMap for querySubstitutablePathInfos | Matthew Bauer | |
I’m not 100% sure this is wanted since it kind of makes everything have to know about ca even if they don’t really want to. But it also make things easier in dealing with looking up ca. | |||
2020-06-17 | Make sure references are empty for store path replacing | Matthew Bauer | |
also copy info2 instead of casting | |||
2020-06-17 | Add assert for replaced storePath | Matthew Bauer | |
2020-06-17 | Merge remote-tracking branch 'origin/master' into substitute-other-storedir | Matthew Bauer | |
2020-06-17 | Update strings from review comment | Matthew Bauer | |
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 | Use `ansicolor.hh` in `nix repl` rather than duplicates | John Ericson | |
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 | appended ' __attribute__((weak)); ' to 'extern char * * environ ' | p01arst0rm | |
2020-06-17 | replaced uncaught_exception with uncaught_exceptions | p01arst0rm | |
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-13 | Correctly substitute from different storeDir | Matthew Bauer | |
Originally, the test was only checking for different “real” storeDir. That’s an easy case to handle, but the much harder one is if different virtual store dirs are used. To do this, we need the SubstitutionGoal to know about the ca, so it can recalculate the path to copy it over. An important note here is that the store path passed to copyStorePath needs to be one for srcStore - so that queryPathInfo works properly. This also adds an error message when the store path from queryPathInfo is different from the one we requested. | |||
2020-06-12 | Add makeFixedOutputPathFromCA function | Matthew Bauer | |
This puts what we are already doing into a shared method. It just needs a path name and a ca and produces a store path. | |||
2020-06-12 | Use `std::string_view` in a few more places | John Ericson | |
2020-06-12 | Debug when storePath changes | Matthew Bauer | |
these rewrites should be transparent, but they are important to know about when debugging | |||
2020-06-12 | Fix add-to-store --flat to put in correct hash | Matthew Bauer | |
2020-06-12 | Recompute storePath based on isContentAddressed | Matthew Bauer | |
2020-06-12 | Don’t use makeStorePath | Matthew Bauer | |
2020-06-12 | Separate dstStore path from srcStore path | Matthew Bauer | |
2020-06-12 | Compute new store path correctly | Matthew Bauer | |
2020-06-12 | Add --flat to nix add-to-store | Matthew Bauer | |
This can be used to add flat hashes to the nix store. | |||
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 | Fix storeDir != storeDir condition | Matthew Bauer | |
this needs to only continue if the path replacement fails. | |||
2020-06-12 | Add newHashAllowEmpty helper function | Matthew Bauer | |
This replaces the copy&paste with a helper function in hash.hh. | |||
2020-06-12 | Remove hashed-mirrors | Matthew Bauer | |
2020-06-12 | Allow substituting from different storeDir | Matthew Bauer | |
Substituters can substitute from one store dir to another with a little bit of help. The store api just needs to have a CA so it can recompute the store path based on the new store dir. We can only do this for fixed output derivations with no references, though. | |||
2020-06-12 | Add Store::readDerivation() convenience function | Eelco Dolstra | |