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

Can't use symbol names as attrset keys #8792

Open
lucasew opened this issue Aug 5, 2023 · 0 comments
Open

Can't use symbol names as attrset keys #8792

lucasew opened this issue Aug 5, 2023 · 0 comments
Labels

Comments

@lucasew
Copy link

lucasew commented Aug 5, 2023

Describe the bug

Symbol names such as if can't be used as attrset keys

Steps To Reproduce

  1. {a.b.if.c = 2; }

Expected behavior
Same as {a.b."if".c = 2; }

nix-env --version output

nix-env (Nix) 2.15.1

Additional context

Sent PR to mitigate the issue to nixpkgs-review: Mic92/nixpkgs-review#344

Priorities

Add 👍 to issues you find important.

@lucasew lucasew added the bug label Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant