mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
9d8a80375d
Antiquotes should evaluate to strings or paths. This is usually checked, except in the case where the antiquote makes up the entire string, as in "${expr}". This is optimised to expr, which discards the runtime type checks / coercions.
2 lines
10 B
Nix
2 lines
10 B
Nix
"${x: x}"
|