While it doesn't make sense to have `foo..bar`, the attribute-path `foo."".bar` is valid and shouldn't throw. Change-Id: Ifcddaad6233c6ba8f17cb5c953c2101d276dfeb6
342 B
342 B
synopsis, cls, category, credits
| synopsis | cls | category | credits | ||
|---|---|---|---|---|---|
| libexpr: allow empty attr-names in parseAttrPath if they are quoted |
|
Miscellany |
|
Empty strings are now allowed in attribute paths as consumed by e.g. nix-build.
I.e. nix-build -A 'foo."".bar' works now.
The quotes are necessary, i.e. nix-build -A foo..bar will throw an error.