From 431dc973a5b99de1f96365a373706440a8017385 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 3 Jun 2019 00:15:29 +0200 Subject: [PATCH] doc: document PWD for passthru.updateScript Make it clear that PWD is not fixed --- doc/stdenv.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/stdenv.xml b/doc/stdenv.xml index da72086640fe..a14d78afe71a 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -709,9 +709,12 @@ passthru.updateScript = writeScript "update-zoom-us" '' passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]; - Note that the update scripts will be run in parallel by default; you - should avoid running git commit or any other commands - that cannot handle that. + + + 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 git + commit or any other commands that cannot handle that. For information about how to run the updates, execute