Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Also display suggestions for the commands using the eval cache | regnat | |
Make `nix build .#nix-armv8l-linux` work for example | |||
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-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-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-15 | quit repl from step mode | Ben Burdette | |
2022-02-14 | make an 'info' level error on break | Ben Burdette | |
2022-02-14 | InstallableFlake: Default attr paths cleanup | Eelco Dolstra | |
This removes some duplicated logic, and fixes "nix bundle" parsing its installable twice. | |||
2022-02-11 | parseInstallables(): Don't try the flake attr path prefixes when no fragment ↵ | Eelco Dolstra | |
is specified Fixes #5880. | |||
2022-02-04 | link change | Ben Burdette | |
2022-02-04 | Merge branch 'master' into debug-step | Ben Burdette | |
2022-02-04 | print value in break | Ben Burdette | |
2022-02-03 | Allow missing flake.nix for --override-input target | Matthew Bauer | |
At this point, we don’t know if the input is a flake or not. So, we should allow the user to override the input with a directory without a flake.nix. Ideally, we could figure whether the input was originally a flake or not, but that would require instantiating the whole flake. So just allow it to be missing here, and rely on checks later on to verify the input for us. | |||
2022-02-04 | Make most calls to determinePos() lazy | Eelco Dolstra | |
2022-02-04 | Merge branch 'issue-3505' of https://github.com/kamadorueda/nix | Eelco Dolstra | |
2022-02-03 | break() primop; step and go debug commands | Ben Burdette | |
2022-01-30 | use LOWDOWN_LIBS variable | Thomas Koch | |
fixes: #5931 | |||
2022-01-21 | forceAttrs: make pos mandatory | Kevin Amado | |
2022-01-21 | forceValue: make pos mandatory | Kevin Amado | |
- Make passing the position to `forceValue` mandatory, this way we remember people that the position is important for better error messages - Add pos to all `forceValue` calls | |||
2022-01-18 | Add Installable::toDrvPaths() | Eelco Dolstra | |
This is needed to get the path of a derivation that might not exist (e.g. for 'nix store copy-log'). InstallableStorePath::toDerivedPaths() cannot be used for this because it calls readDerivation(), so it fails if the store doesn't have the derivation. | |||
2022-01-18 | Add command 'nix store copy-log' | Eelco Dolstra | |
Fixes #5222. | |||
2022-01-18 | Factor out --from / --to logic | Eelco Dolstra | |
2022-01-08 | clear screen and show top debug trace | Ben Burdette | |
2022-01-08 | optinoal error; compiles | Ben Burdette | |
2022-01-07 | add env to DebugTrace | Ben Burdette | |
2022-01-05 | revert value-add | Ben Burdette | |
2022-01-05 | add colors; remove headings | Ben Burdette | |
2022-01-03 | merge cleanup | Ben Burdette | |
2022-01-03 | Merge branch 'master' into debug-exploratory-PR | Ben Burdette | |
2021-12-27 | more cleanup | Ben Burdette | |
2021-12-27 | remove debug code | Ben Burdette | |
2021-12-27 | add DebugTrace for the current error | Ben Burdette | |
2021-12-27 | :d env | Ben Burdette | |
2021-12-27 | by refernce for addVarToScope | Ben Burdette | |
2021-12-27 | don't add builtins to extras, initEnv() in regular repl | Ben Burdette | |
2021-12-23 | DebugTrace | Ben Burdette | |
2021-12-22 | stack traces basically working | Ben Burdette | |
2021-12-22 | DebugStackTracker class in one place | Ben Burdette | |
2021-12-22 | Fix attr path completion after a dot | Naïm Favier | |
2021-12-22 | Don't insert spaces when completing attribute paths | Naïm Favier | |
2021-12-20 | :d error | Ben Burdette | |
2021-12-11 | EvalCommand::getEvalState: use gc tracable allocator for EvalState | Yorick van Pelt | |
2021-11-30 | fix linking | Ben Burdette | |
2021-11-30 | fix merge issues | Ben Burdette | |
2021-11-26 | Don’t try to complete flakes is the feature isn’t enabled | regnat | |
Fix #5661 | |||
2021-11-25 | Merge branch 'master' into debug-merge | Ben Burdette | |
2021-11-25 | more cleanup | Ben Burdette | |