mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02: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.
1 line
12 B
Nix
1 line
12 B
Nix
''${x: x}''
|