Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-07 | Make completeDir follow symlinks | Naïm Favier | |
Allows completing `nix why-depends /run/cur<Tab>` to /run/current-system | |||
2022-03-07 | Ensure the completion marker is not processed beyond completion | Naïm Favier | |
I was surprised to see an error mentioning ___COMPLETE___ when trying to complete a flag argument that had no completer implemented | |||
2022-03-07 | Fix completion of nested attributes in completeInstallable | Naïm Favier | |
Without this, completing `nix eval -f file.nix foo.<Tab>` suggests `bar` instead of `foo.bar`, which messes up the command | |||
2022-03-07 | Add shell completion for --override-input | Naïm Favier | |
2022-03-07 | Accept and discard fragments in getFlakeRefForCompletion | Naïm Favier | |
Otherwise trying to complete `nix build foo#bar --update-input <Tab>` fails with "unexpected fragment" | |||
2022-03-07 | Tweak release notes | Eelco Dolstra | |
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> | |||
2022-03-01 | Move `BuildResult` defintion to its own header | John Ericson | |
Just like we did for `ValidPathInfo` in d92d4f85a5c8a2a2385c084500a8b6bd54b54e6c. | |||
2022-03-01 | installer: allow overriding nix user GID and UIDs | Bjørn Forsman | |
Needed to resolve conflict in case the default GID and UIDs are in use. | |||
2022-03-01 | Merge pull request #6187 from thufschmitt/allow-the-darwin-tests-to-be-flaky | Eelco Dolstra | |
Acknowledge that the macOS tests are flaky | |||
2022-03-01 | Acknowledge that the macOS tests are flaky | regnat | |
Restart the tests (at most once) on `unexpected EOF` errors. This is truly ugly, but might prevent half of the CI runs to fail because of https://github.com/NixOS/nix/issues/3605 | |||
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 | Merge pull request #6174 from hercules-ci/fetchTree-reuse-local-paths | Théophane Hufschmitt | |
fetchTree: Do not re-fetch paths already present + refactor | |||
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 | |