mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-10 16:54:33 +02:00
[nix/en] update to string interpolation (#5240)
This commit is contained in:
2
nix.md
2
nix.md
@@ -86,7 +86,7 @@ with builtins; [
|
||||
("ab" + "cd") # String concatenation
|
||||
#=> "abcd"
|
||||
|
||||
# Antiquotation lets you embed values into strings.
|
||||
# String interpolation (formerly known as "antiquotation") lets you embed values into strings.
|
||||
("Your home directory is ${getEnv "HOME"}")
|
||||
#=> "Your home directory is /home/alice"
|
||||
|
||||
|
Reference in New Issue
Block a user