mirror of
https://github.com/NixOS/nix.git
synced 2025-02-22 03:42:48 +00:00

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
12 B
Nix
2 lines
12 B
Nix
''${x: x}''
|