summary refs log tree commit diff
path: root/doc
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
parent9f6a9ce3689a1bbaf271f31b93bd595fc8185187 (diff)
downloadnixpkgs-431dc973a5b99de1f96365a373706440a8017385.tar
nixpkgs-431dc973a5b99de1f96365a373706440a8017385.tar.gz
nixpkgs-431dc973a5b99de1f96365a373706440a8017385.tar.bz2
nixpkgs-431dc973a5b99de1f96365a373706440a8017385.tar.lz
nixpkgs-431dc973a5b99de1f96365a373706440a8017385.tar.xz
nixpkgs-431dc973a5b99de1f96365a373706440a8017385.tar.zst
nixpkgs-431dc973a5b99de1f96365a373706440a8017385.zip
doc: document PWD for passthru.updateScript
Make it clear that PWD is not fixed
Diffstat (limited to 'doc')
-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