mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +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
12 B
Nix
2 lines
12 B
Nix
''${x: x}''
|