mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-23 04:33:08 +00:00
fix: can not use integer in string interpolation
This commit is contained in:
parent
44945b786d
commit
e8edb773ba
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ in
|
|||
|
||||
```nix
|
||||
let
|
||||
a = 1;
|
||||
a = "1";
|
||||
in
|
||||
"the value of a is ${a}" # 结果是 "the value of a is 1"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue