summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Friedberger <simon@mozilla.com>2022-10-17 09:38:19 +0000
committerSimon Friedberger <simon@mozilla.com>2022-10-17 09:38:19 +0000
commit041a27ec38d87d80a5d8f663be531c552a642998 (patch)
tree7127ea5a9c235f10e5b3bcf26ac86f6aaaded165 /doc
parent0f4304144c004f0d3250c57998b792c94c20ee67 (diff)
downloadnss-hg-041a27ec38d87d80a5d8f663be531c552a642998.tar.gz
No bug - Add note about python executable to build instructions. r=bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D148143
Diffstat (limited to 'doc')
-rw-r--r--doc/rst/build.rst14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/rst/build.rst b/doc/rst/build.rst
index 0fd3e3a94..f773a3ffd 100644
--- a/doc/rst/build.rst
+++ b/doc/rst/build.rst
@@ -32,22 +32,30 @@ Building NSS
To install prerequisites on different platforms, one can run the following
commands:
- On Linux:
+ **On Linux:**
.. code:: notranslate
sudo apt install mercurial git ninja-build python3-pip
python3 -m pip install gyp-next
- On MacOS:
+ **On MacOS:**
.. code:: notranslate
brew install mercurial git ninja python3-pip
python3 -m pip install gyp-next
+ It is also necessary to make sure that a `python` (not just `python3`)
+ executable is in the path.
+ The Homebrew Python installation has the necessary symlink but may require
+ explicit adding to the PATH variable, for example like this:
- On Windows:
+ .. code:: notranslate
+
+ export PATH="/opt/homebrew/opt/python/libexec/bin:$PATH"
+
+ **On Windows:**
.. code:: notranslate