Closed ityspace closed 1 year ago
let a = 1; in "the value of a is ${a}"
THEN output that : error: cannot coerce an integer to a string
at «string»:4:2: 3| in 4| "the value of a is ${a}" | ^ 5|
So the interpolation cannot be an integer?
Yep, I made a mistake here, I found an issue related to it: https://github.com/NixOS/nix/issues/7327
Fixed, I changed it to a = "1";
a = "1";
THEN output that : error: cannot coerce an integer to a string