about summary refs log tree commit diff
path: root/doc/build-helpers/trivial-build-helpers.chapter.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/build-helpers/trivial-build-helpers.chapter.md')
-rw-r--r--doc/build-helpers/trivial-build-helpers.chapter.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/build-helpers/trivial-build-helpers.chapter.md b/doc/build-helpers/trivial-build-helpers.chapter.md
index 31b42bd77426..ff00548e049a 100644
--- a/doc/build-helpers/trivial-build-helpers.chapter.md
+++ b/doc/build-helpers/trivial-build-helpers.chapter.md
@@ -501,7 +501,7 @@ writeTextFile {
   text = ''
     Contents of File
   '';
-  destination = "share/my-file";
+  destination = "/share/my-file";
 }
 ```
 
@@ -586,7 +586,7 @@ writeTextFile {
     echo "hi"
   '';
   executable = true;
-  destination = "bin/my-script";
+  destination = "/bin/my-script";
 }
 ```
 
@@ -674,7 +674,7 @@ writeTextFile {
     echo "hi"
   '';
   executable = true;
-  destination = "bin/my-script";
+  destination = "/bin/my-script";
 }
 ```