mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
* Syntax to escape '', ${.
This commit is contained in:
parent
d4950f207f
commit
b42ef9c054
3 changed files with 20 additions and 2 deletions
|
@ -104,4 +104,10 @@ let
|
|||
exec ${"slim"}/bin/slim
|
||||
'';
|
||||
|
||||
in s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13
|
||||
s14 = ''
|
||||
Escaping of ' followed by ': '''
|
||||
Escaping of $ followed by {: ''${
|
||||
And finally to interpret \n etc. as in a string: ''\n, ''\r, ''\t.
|
||||
'';
|
||||
|
||||
in s1 + s2 + s3 + s4 + s5 + s6 + s7 + s8 + s9 + s10 + s11 + s12 + s13 + s14
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue