mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-19 04:00:13 -04:00
8 lines
157 B
Plaintext
8 lines
157 B
Plaintext
|
nix-repl> foo = "strval"
|
||
|
nix-repl> "$foo"
|
||
|
"$foo"
|
||
|
nix-repl> "${foo}"
|
||
|
"strval"
|
||
|
nix-repl> "${2+3}"
|
||
|
error: cannot coerce an integer to a string, at (string):1:2
|