mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
add colors; remove headings
This commit is contained in:
parent
a4d8a799b7
commit
bf8a065be0
2 changed files with 6 additions and 3 deletions
|
@ -444,7 +444,6 @@ bool NixRepl::processLine(string line)
|
|||
|
||||
else if (command == ":d" || command == ":debug") {
|
||||
if (arg == "stack") {
|
||||
std::cout << "eval stack:" << std::endl;
|
||||
for (auto iter = this->state->debugTraces.begin();
|
||||
iter != this->state->debugTraces.end(); ++iter) {
|
||||
std::cout << "\n" << "… " << iter->hint.str() << "\n";
|
||||
|
@ -463,7 +462,6 @@ bool NixRepl::processLine(string line)
|
|||
}
|
||||
}
|
||||
} else if (arg == "env") {
|
||||
std::cout << "env stack:" << std::endl;
|
||||
auto iter = this->state->debugTraces.begin();
|
||||
if (iter != this->state->debugTraces.end()) {
|
||||
printStaticEnvBindings(iter->expr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue