From b828285933c42e914cf99448bd18cbe219567971 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 19 Sep 2020 23:40:04 +0200 Subject: 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. --- doc/stdenv/stdenv.xml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/stdenv') diff --git a/doc/stdenv/stdenv.xml b/doc/stdenv/stdenv.xml index 060dc80c915..2a148a9c2a1 100644 --- a/doc/stdenv/stdenv.xml +++ b/doc/stdenv/stdenv.xml @@ -518,6 +518,9 @@ passthru.updateScript = { ] + + When the returned array contains exactly one object (e.g. [{}]), keys can be omitted and will be determined automatically. Finding out newVersion requires attrPath to be present either in the update script output or passed to the passthru.updateScript attribute set. + -- cgit 1.4.1