Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] fix compilation with nix 2.24 #613

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

[wip] fix compilation with nix 2.24 #613

wants to merge 2 commits into from

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Nov 7, 2024

No description provided.

State.forceValue(*It->value, It->pos);

// In nixpkgs some examples are nested in "literalExpression"
if (nixt::checkField(State, *It->value, "_type", "literalExpression")) {
R.Example = nixt::getFieldString(State, *It->value, "text");
} else {
std::ostringstream OS;
It->value->print(State.symbols, OS);
// TODO: replace this with something that can traverse the symbol table
//It->value->print(State.symbols, OS);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inclyc unsure what to do here. We need symbols to be looked up here in the table. I suppose they should come from IT somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant