mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-22 04:51:29 +02:00
fix: can not use integer in string interpolation
This commit is contained in:
parent
44945b786d
commit
e8edb773ba
@ -179,7 +179,7 @@ in
|
|||||||
|
|
||||||
```nix
|
```nix
|
||||||
let
|
let
|
||||||
a = 1;
|
a = "1";
|
||||||
in
|
in
|
||||||
"the value of a is ${a}" # 结果是 "the value of a is 1"
|
"the value of a is ${a}" # 结果是 "the value of a is 1"
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user