summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorDaniƫl de Kok <me@danieldk.eu>2020-06-06 12:46:00 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-06-16 10:03:25 +0200
commit58ec4d5c77f0a97018cd801d87d5d29202d7bd0e (patch)
tree1c4b24a00211bc43ebd67ed16e04de4dfea83fab /doc
parenteb1dd0cb02ffbcbdf194198bfb1a9855607f8cca (diff)
downloadnixpkgs-58ec4d5c77f0a97018cd801d87d5d29202d7bd0e.tar
nixpkgs-58ec4d5c77f0a97018cd801d87d5d29202d7bd0e.tar.gz
nixpkgs-58ec4d5c77f0a97018cd801d87d5d29202d7bd0e.tar.bz2
nixpkgs-58ec4d5c77f0a97018cd801d87d5d29202d7bd0e.tar.lz
nixpkgs-58ec4d5c77f0a97018cd801d87d5d29202d7bd0e.tar.xz
nixpkgs-58ec4d5c77f0a97018cd801d87d5d29202d7bd0e.tar.zst
nixpkgs-58ec4d5c77f0a97018cd801d87d5d29202d7bd0e.zip
doc: `pip install` flags are specified with `pipInstallFlags`
The documentation incorrectly stated that `installFlags` are passed to
`pip install`.
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.section.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index 7da839ee482..dc10483ce69 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -764,9 +764,6 @@ following are specific to `buildPythonPackage`:
 * `dontWrapPythonPrograms ? false`: Skip wrapping of Python programs.
 * `permitUserSite ? false`: Skip setting the `PYTHONNOUSERSITE` environment
   variable in wrapped programs.
-* `installFlags ? []`: A list of strings. Arguments to be passed to `pip
-  install`. To pass options to `python setup.py install`, use
-  `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"]`.
 * `format ? "setuptools"`: Format of the source. Valid options are
   `"setuptools"`, `"pyproject"`, `"flit"`, `"wheel"`, and `"other"`.
   `"setuptools"` is for when the source has a `setup.py` and `setuptools` is
@@ -782,6 +779,9 @@ following are specific to `buildPythonPackage`:
 * `namePrefix`: Prepends text to `${name}` parameter. In case of libraries, this
   defaults to `"python3.8-"` for Python 3.8, etc., and in case of applications
   to `""`.
+* `pipInstallFlags ? []`: A list of strings. Arguments to be passed to `pip
+  install`. To pass options to `python setup.py install`, use
+  `--install-option`. E.g., `pipInstallFlags=["--install-option='--cpp_implementation'"]`.
 * `pythonPath ? []`: List of packages to be added into `$PYTHONPATH`. Packages
   in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`).
 * `preShellHook`: Hook to execute commands before `shellHook`.