1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00

doc: document PWD for passthru.updateScript

Make it clear that PWD is not fixed
This commit is contained in:
Jan Tojnar 2019-06-03 00:15:29 +02:00
parent 9f6a9ce368
commit 431dc973a5
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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