aboutsummaryrefslogtreecommitdiff
path: root/doc/stdenv.xml
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-06-03 00:15:29 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-06-03 00:15:29 +0200
commit431dc973a5b99de1f96365a373706440a8017385 (patch)
tree9c674095151492330becf8402209f5f44859dbfb /doc/stdenv.xml
parent9f6a9ce3689a1bbaf271f31b93bd595fc8185187 (diff)
doc: document PWD for passthru.updateScript
Make it clear that PWD is not fixed
Diffstat (limited to 'doc/stdenv.xml')
-rw-r--r--doc/stdenv.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index da72086640f..a14d78afe71 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -709,9 +709,12 @@ passthru.updateScript = writeScript "update-zoom-us" ''
<programlisting>
passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ];
</programlisting>
- Note that the update scripts will be run in parallel by default; you
- should avoid running <command>git commit</command> or any other commands
- that cannot handle that.
+ </para>
+ <para>
+ The script will be usually run from the root of the Nixpkgs repository
+ but you should not rely on that. Also note that the update scripts will
+ be run in parallel by default; you should avoid running <command>git
+ commit</command> or any other commands that cannot handle that.
</para>
<para>
For information about how to run the updates, execute