-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
nix eval doesn't quote reserved keys #7656
Comments
While this would be nice, it's important to note that the output of |
Is this documented somewhere? The manpage says:
I would expect "a Nix expression" to mean "a valid Nix expression". |
Same lol.
I think I'll fix this today.
…On Wed, Mar 22, 2023, 6:08 AM Alexander Bantyev ***@***.***> wrote:
While this would be nice, it's important to note that the output of nix
eval is not guaranteed to be a valid Nix expression.
Is this documented somewhere?
The manpage says:
· By default, the evaluation result is printed as a Nix expression.
I would expect "a Nix expression" to mean "a valid Nix expression".
—
Reply to this email directly, view it on GitHub
<#7656 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXOLCEEEIOSCZLKF5ZRMMF3W5LMRRANCNFSM6AAAAAAUCYSTV4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Describe the bug
Reserved keywords aren't quoted when printing attrsets with
nix eval
.Steps To Reproduce
Expected behavior
Effectively
nix-env --version
outputThis effects all releases through 2.13.0.
Additional context
I plan to fix and PR this issue.
The text was updated successfully, but these errors were encountered: