diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2019-06-03 00:15:29 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-06-03 00:15:29 +0200 |
commit | 431dc973a5b99de1f96365a373706440a8017385 (patch) | |
tree | 9c674095151492330becf8402209f5f44859dbfb /doc | |
parent | 9f6a9ce3689a1bbaf271f31b93bd595fc8185187 (diff) |
doc: document PWD for passthru.updateScript
Make it clear that PWD is not fixed
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stdenv.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml index da72086640fe8..a14d78afe71a5 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 |