diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-09-19 23:40:04 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-09-20 20:11:46 +0200 |
commit | b828285933c42e914cf99448bd18cbe219567971 (patch) | |
tree | a83946b716135bcf62d1a54d116d23d6740b97d3 /doc/stdenv | |
parent | 4a161ddb3bdfab0b09597456bd541cbbe6c84b07 (diff) |
maintainers/scripts/update.nix: support filling in auto-commit attributes
We can determine all of them when attrPath is present so we might jsut as well do it.
Diffstat (limited to 'doc/stdenv')
-rw-r--r-- | doc/stdenv/stdenv.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/stdenv/stdenv.xml b/doc/stdenv/stdenv.xml index 060dc80c9157c..2a148a9c2a108 100644 --- a/doc/stdenv/stdenv.xml +++ b/doc/stdenv/stdenv.xml @@ -518,6 +518,9 @@ passthru.updateScript = { ] </programlisting> </para> + <para> + When the returned array contains exactly one object (e.g. <literal>[{}]</literal>), keys can be omitted and will be determined automatically. Finding out <variable>newVersion</variable> requires <variable>attrPath</variable> to be present either in the update script output or passed to the <variable>passthru.updateScript</variable> attribute set. + </para> </listitem> </varlistentry> </variablelist> |