about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/strings.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strings.nix b/lib/strings.nix
index bad8f53fa565b..d3ef748fb71e7 100644
--- a/lib/strings.nix
+++ b/lib/strings.nix
@@ -350,7 +350,7 @@ rec {
 
      Example:
        ''
-         ${toShellVar foo "some string"}
+         ${toShellVar "foo" "some string"}
          [[ "$foo" == "some string" ]]
        ''
   */