mirror of
https://github.com/NixOS/nix.git
synced 2024-12-02 11:42:30 +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}''
|