doc/stdenv: fix build

https://hydra.nixos.org/build/128037886/nixlog/1/tail
error: element "variable" not allowed anywhere
This commit is contained in:
zowoq 2020-10-03 18:15:41 +10:00
parent b551f06097
commit c3a05f90ed

View File

@ -475,7 +475,7 @@ passthru.updateScript = writeScript "update-zoom-us" ''
<programlisting>
passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ];
</programlisting>
The script will be run with <variable>UPDATE_NIX_ATTR_PATH</variable> environment variable set to the attribute path it is supposed to update.
The script will be run with <varname>UPDATE_NIX_ATTR_PATH</varname> environment variable set to the attribute path it is supposed to update.
<note>
<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.