Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-07 | Style | Eelco Dolstra | |
2022-03-07 | Merge branch 'GuillaumeDesforges/issue6192' of ↵ | Eelco Dolstra | |
https://github.com/GuillaumeDesforges/nix | |||
2022-03-07 | Tweak release notes | Eelco Dolstra | |
2022-03-07 | Merge branch 'cli-suggestions' of https://github.com/thufschmitt/nix | Eelco Dolstra | |
2022-03-07 | Explicit error in flake init/new when not in store | Guillaume Desforges | |
2022-03-07 | Merge `or-suggestions.hh` into `suggestions.hh` | regnat | |
No real need for keeping a separate header for such a simple class. This requires changing a bit `OrSuggestions<T>::operator*` to not throw an `Error` to prevent a cyclic dependency. But since this error is only thrown on programmer error, we can replace the whole method by a direct call to `std::get` which will raise its own assertion if needs be. | |||
2022-03-07 | Merge pull request #6173 from hercules-ci/fix-mkString-for-empty-string-view | Eelco Dolstra | |
Fix `mkString` for empty `string_view` | |||
2022-03-07 | dupStringWithLen -> makeImmutableString | Robert Hensing | |
Refactor the `size == 0` logic into a new helper function that replaces dupStringWithLen. The name had to change, because unlike a `dup`-function, it does not always allocate a new string. | |||
2022-03-07 | Value::mkPath: Avoid potential crash from null string_view | Robert Hensing | |
2022-03-07 | Value::mkString: Avoid crash from null string_view | Robert Hensing | |
2022-03-07 | Tweak release notes | Eelco Dolstra | |
2022-03-07 | Implement `operator<<` for Suggestions | regnat | |
That way there’s no need to explicitely convert it to a string when printing it | |||
2022-03-07 | Move OrSuggestions to its own header | regnat | |
Prevents a recursive inclusion | |||
2022-03-07 | Add a release-notes entry for the cli suggestions | regnat | |
2022-03-07 | Add some end-to-end tests for the suggestions | regnat | |
2022-03-07 | Also display suggestions for the commands using the eval cache | regnat | |
Make `nix build .#nix-armv8l-linux` work for example | |||
2022-03-07 | Add some tests for the suggestions | regnat | |
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-07 | Merge pull request #6029 from Ma27/nix-log-ssh-ng | Théophane Hufschmitt | |
ssh-ng: also store build logs to make them accessible by `nix log` | |||
2022-03-07 | Explain why the log tests are disabled for CA derivations | Théophane Hufschmitt | |
2022-03-07 | Merge pull request #6208 from sielicki/fix-url-github-oauth | Théophane Hufschmitt | |
Point to new github oauth docs url | |||
2022-03-06 | Point to new github oauth docs url | Nicholas Sielicki | |
Previous URL was 404'ing. | |||
2022-03-04 | tests: grep for string in nix log for remote-builds | Maximilian Bosch | |
2022-03-03 | Merge pull request #6188 from obsidiansystems/store-gc-subclass | Eelco Dolstra | |
Factor out a `GcStore` interface | |||
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 | Merge pull request #6201 from edolstra/print-value | Eelco Dolstra | |
printValue(): Don't show repeated values | |||
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 | Merge pull request #6198 from edolstra/coerce-store-path | Eelco Dolstra | |
Add EvalState::coerceToStorePath() helper | |||
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 | Merge pull request #6197 from edolstra/nix-profile-ca | Eelco Dolstra | |
nix profile: Support CA derivations | |||
2022-03-02 | nix profile test: Restart daemon | Eelco Dolstra | |
Fixes nix-daemon: src/libstore/sqlite.cc:97: nix::SQLiteStmt::Use::Use(nix::SQLiteStmt&): Assertion `stmt.stmt' failed. which happens because the daemon doesn't properly handle the case where ca-derivations isn't enabled at daemon startup. | |||
2022-03-02 | Remove obsolete todo | Eelco Dolstra | |
2022-03-02 | Silence kill output | Eelco Dolstra | |
2022-03-02 | tests/common.sh.in: Add enableFeatures helper | Eelco Dolstra | |
2022-03-02 | mk/run_test.sh: Add missing backslash | Eelco Dolstra | |
2022-03-02 | nix profile: Add a test for non-flake packages | Eelco Dolstra | |
2022-03-02 | nix profile: Support CA derivations | Eelco Dolstra | |
2022-03-02 | Move installables-related operations | Eelco Dolstra | |
2022-03-02 | Merge pull request #6194 from edolstra/nix-profile | Eelco Dolstra | |
Add basic tests for 'nix profile' | |||
2022-03-02 | Add basic tests for 'nix profile' | Eelco Dolstra | |
Fixes #6193. | |||
2022-03-02 | Merge pull request #4345 from bjornfor/installer-configurable-uid-gid | Eelco Dolstra | |
installer: allow overriding nix user GID and UIDs | |||
2022-03-02 | Style | Eelco Dolstra | |
2022-03-02 | tests: Rename nix-profile.sh -> bash-profile.sh | 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-02 | Merge pull request #6190 from andersk/bel | Eelco Dolstra | |
filterANSIEscapes: Ignore BEL character | |||
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> |