-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
buglanguageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etcregressionSomething doesn't work anymoreSomething doesn't work anymore
Description
Describe the bug
let a = 1; "b" = 2; ${"c"} = 3; in [ a b c ]
regressed from 2.30 to 2.32.
See
Nix 2.30.3
Type :? for help.
nix-repl> let a = 1; "b" = 2; ${"c"} = 3; in [ a b c ]
[
1
2
3
]
vs
Nix 2.32.4
Type :? for help.
nix-repl> let a = 1; "b" = 2; ${"c"} = 3; in [ a b c ]
error: dynamic attributes not allowed in let
at «string»:1:1:
1| let a = 1; "b" = 2; ${"c"} = 3; in [ a b c ]
| ^
Expected behavior
I'd expect this to not start to fail in a minor version bump, expressions out there might use it.
It's not mentioned in the release notes, and some quick git blaming around the error message also didn't show anything, so I assume this is a regression.
Additional context
https://cl.snix.dev/c/snix/+/30758
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
buglanguageThe Nix expression language; parser, interpreter, primops, evaluation, etcThe Nix expression language; parser, interpreter, primops, evaluation, etcregressionSomething doesn't work anymoreSomething doesn't work anymore