Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-07 | Implement a suggestions mechanism | regnat | |
Each `Error` class now includes a set of suggestions, and these are printed by the top-level handler. | |||
2022-03-03 | Factor out a `GcStore` interface | John Ericson | |
Starts progress on #5729. The idea is that we should not have these default methods throwing "unimplemented". This is a small step in that direction. I kept `addTempRoot` because it is a no-op, rather than failure. Also, as a practical matter, it is called all over the place, while doing other tasks, so the downcasting would be annoying. Maybe in the future I could move the "real" `addTempRoot` to `GcStore`, and the existing usecases use a `tryAddTempRoot` wrapper to downcast or do nothing, but I wasn't sure whether that was a good idea so with a bias to less churn I didn't do it yet. | |||
2022-03-03 | Be more aggressive in hiding repeated values | Eelco Dolstra | |
We now memoize on Bindings / list element vectors rather than Values, so that e.g. two Values that point to the same Bindings will be printed only once. | |||
2022-03-03 | printValue(): Don't show repeated values | Eelco Dolstra | |
Fixes #6157. | |||
2022-03-03 | Fix segfault in headerCallback() | Eelco Dolstra | |
https://hydra.nixos.org/build/168594664 | |||
2022-03-03 | Use C++11-style initializer | Eelco Dolstra | |
Co-authored-by: John Ericson <git@JohnEricson.me> | |||
2022-03-02 | Add EvalState::coerceToStorePath() helper | Eelco Dolstra | |
This is useful whenever we want to evaluate something to a store path (e.g. in get-drvs.cc). Extracted from the lazy-trees branch (where we can require that a store path must come from a store source tree accessor). | |||
2022-03-02 | nix profile: Support CA derivations | Eelco Dolstra | |
2022-03-02 | Move installables-related operations | Eelco Dolstra | |
2022-03-02 | Style | Eelco Dolstra | |
2022-03-02 | Remove stray debug line | Eelco Dolstra | |
2022-03-02 | Merge pull request #6189 from obsidiansystems/build-result-header | Eelco Dolstra | |
Move `BuildResult` defintion to its own header | |||
2022-03-01 | filterANSIEscapes: Ignore BEL character | Anders Kaseorg | |
GCC is not as good at music as it seems to think it is. Fixes #4546. Signed-off-by: Anders Kaseorg <andersk@mit.edu> | |||
2022-03-01 | Move `BuildResult` defintion to its own header | John Ericson | |
Just like we did for `ValidPathInfo` in d92d4f85a5c8a2a2385c084500a8b6bd54b54e6c. | |||
2022-03-01 | Merge pull request #6185 from hercules-ci/fetchTree-reuse-local-paths | Eelco Dolstra | |
fetchTree: Use isValidPath, add comment | |||
2022-03-01 | fetchTree: Use isValidPath, add comment | Robert Hensing | |
2022-03-01 | fetch{url,Tarball}: Remove 'narHash' attribute | Eelco Dolstra | |
This was introduced in #6174. However fetch{url,Tarball} are legacy and we shouldn't have an undocumented attribute that does the same thing as one that already exists ('sha256'). | |||
2022-03-01 | Merge pull request #6183 from obsidiansystems/sort-config | Eelco Dolstra | |
Move some stuff from `Settings` to a new `FetchSettings`. | |||
2022-03-01 | Move some stuff from `Settings` to a new `FetchSettings`. | John Ericson | |
Starting work on #5638 The exact boundary between `FetchSettings` and `EvalSettings` is not clear to me, but that's fine. First lets clean out `libstore`, and then worry about what, if anything, should be the separation between those two. | |||
2022-02-28 | Add EvalState::allowAndSetStorePathString helper | Robert Hensing | |
This switches addPath from `printStorePath` to `toRealPath`. | |||
2022-02-28 | fetchTree: Do not re-fetch paths already present | Robert Hensing | |
2022-02-28 | Fix clang warning | Eelco Dolstra | |
2022-02-28 | Fix Darwin build | Eelco Dolstra | |
Fixes #6169 | |||
2022-02-28 | Merge pull request #6072 from Ma27/fix-nix-why-depends-non-precise | Théophane Hufschmitt | |
nix/why-depends: fix output when not using `--precise` | |||
2022-02-25 | Remove std::string alias (for real this time) | Eelco Dolstra | |
Also use std::string_view in a few more places. | |||
2022-02-25 | xml-writer: Remove std aliases | Eelco Dolstra | |
2022-02-25 | refactor: remove verbose-build from docs | Kevin Amado | |
- From what I see it is an implementation detail but is no longer configurable from the settings | |||
2022-02-25 | ExprAttrs::show(): Show attrs in sorted order | Eelco Dolstra | |
Issue #6160. | |||
2022-02-24 | Merge pull request #6089 from edolstra/dot-default | Eelco Dolstra | |
Replace defaultBla.$system with bla.$system.default | |||
2022-02-24 | libfetchers: Rename immutable -> locked | Eelco Dolstra | |
This is more consistent with flake terminology. | |||
2022-02-24 | Merge pull request #5342 from Misterio77/add-sourcehut | Théophane Hufschmitt | |
Add support for sourcehut input scheme | |||
2022-02-22 | Update docs | Eelco Dolstra | |
2022-02-22 | nix flake check: Warn about deprecated flake outputs | Eelco Dolstra | |
2022-02-22 | Replace defaultBla.$system with bla.$system.default | Eelco Dolstra | |
This also simplifies some InstallableFlake logic and fixes 'nix bundle' parsing its installable twice. Fixes #5532. | |||
2022-02-21 | Merge pull request #6136 from matthewbauer/profile-upgrade-verbosity | Eelco Dolstra | |
Add verbosity to nix profile upgrade | |||
2022-02-21 | Fix macOS build | Eelco Dolstra | |
2022-02-21 | Apply suggestions from code review | Matthew Bauer | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2022-02-21 | Remove std::string alias | Eelco Dolstra | |
2022-02-21 | Remove std::vector alias | Eelco Dolstra | |
2022-02-21 | Remove std::set alias | Eelco Dolstra | |
2022-02-21 | Remove std::list alias | Eelco Dolstra | |
2022-02-21 | Merge pull request #6052 from ↵ | Eelco Dolstra | |
hercules-ci/issue-3294-fix-interruptCallback-deadlock Fix deadlocked nix-daemon zombies on darwin #3294 | |||
2022-02-21 | triggerInterrupt: Refactor to use break | Robert Hensing | |
2022-02-20 | Add verbosity to nix profile upgrade | Matthew Bauer | |
Followup of https://github.com/NixOS/nix/pull/6086. This time adding a warning if no packages are upgraded. | |||
2022-02-19 | path-info: use full store paths when we have them | Linus Heckemann | |
Fixes #5645 | |||
2022-02-17 | Merge pull request #6103 from Radvendii/welcomeText | Eelco Dolstra | |
add descriptive output when creating templates | |||
2022-02-17 | make flake template welcomeText markdown | Taeer Bar-Yam | |
2022-02-16 | InputScheme::fetch(): Return a StorePath instead of a Tree | Eelco Dolstra | |
2022-02-16 | addToStoreFromDump(): Take std::string_view | Eelco Dolstra | |
2022-02-15 | add descriptive output when creating templates | Taeer Bar-Yam | |
this includes a `welcomeText` attribute which can be set in the template, as well as outputing which files were created. |