diff options
author | Chris McDonough <chrism@plope.com> | 2024-01-12 22:53:50 -0500 |
---|---|---|
committer | Chris McDonough <chrism@plope.com> | 2024-01-12 22:53:50 -0500 |
commit | 39227d5ce39c9004972ca3b15e89268ceaeca7db (patch) | |
tree | 703a871c81df4523550deadf5c504881578ae8df /doc/build-helpers | |
parent | 56108dd5ab70b012c7ffd885b84bb44a7367e4f0 (diff) |
describing the composiion of the store path elements is not really that useful
Diffstat (limited to 'doc/build-helpers')
-rw-r--r-- | doc/build-helpers/trivial-build-helpers.chapter.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/build-helpers/trivial-build-helpers.chapter.md b/doc/build-helpers/trivial-build-helpers.chapter.md index 1da9e3b4c955..c8c141cc83e5 100644 --- a/doc/build-helpers/trivial-build-helpers.chapter.md +++ b/doc/build-helpers/trivial-build-helpers.chapter.md @@ -186,7 +186,7 @@ a string. : will be the contents of the file. -The store path will include the the name, and it will be a file. Any path separators and shell-reserved elements in the name are escaped to create the store path identifier. +The store path will include the the name, and it will be a file. Here is an example. @@ -267,7 +267,7 @@ Writes a script within the store. The created file is marked as executable. -The store path will include the the name, and it will be a file. Any path separators and shell-reserved elements in the name are escaped to create the store path identifier. +The store path will include the the name, and it will be a file. Here is an example. @@ -312,7 +312,7 @@ The created file is marked as executable. The file's contents will be put into `/nix/store/<store path>/bin/<name>`. -The store path will include the the name, and it will be a directory. Any path separators and shell-reserved elements in the name are escaped to create the store path identifier. +The store path will include the the name, and it will be a directory. ::: {.example #ex-writeScriptBin} # Usage of `writeScriptBin` @@ -355,7 +355,7 @@ The created file is marked as executable. This function is almost exactly like `writeScript`, but it prepends a shebang line that points to the runtime shell (usually bash) at the top of the file contents. -The store path will include the the name, and it will be a file. Any path separators and shell-reserved elements in the name are escaped to create the store path identifier. +The store path will include the the name, and it will be a file. Here is an example. @@ -399,7 +399,7 @@ This function is almost exactly like `writeScriptBin`, but it prepends a shebang The file's contents will be put into `/nix/store/<store path>/bin/<name>`. -The store path will include the the name, and it will be a directory. Any path separators and shell-reserved elements in the name are escaped to create the store path identifier. +The store path will include the the name, and it will be a directory. ::: {.example #ex-writeShellScriptBin} # Usage of `writeShellScriptBin` |