docs/dart: Fix example autoPubspecLock syntax

This commit is contained in:
hacker1024 2024-01-11 08:28:42 +11:00 committed by GitHub
parent 778cefd464
commit a2cbeb19b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@ Alternatively, `autoPubspecLock` can be used instead, and set to a path to a reg
::: {.warning}
When using `autoPubspecLock` with a local source directory, make sure to use a
concatenation operator (e.g. `autoPubspecLock = ${src} + "/pubspec.lock";`), and
concatenation operator (e.g. `autoPubspecLock = src + "/pubspec.lock";`), and
not string interpolation.
String interpolation will copy your entire source directory to the Nix store and