diff options
author | Erik Arvstedt <erik.arvstedt@gmail.com> | 2018-07-26 14:19:45 +0200 |
---|---|---|
committer | Erik Arvstedt <erik.arvstedt@gmail.com> | 2018-07-26 14:28:23 +0200 |
commit | eb60a878874c5f7af7e75d6e187ec10135aa9f0a (patch) | |
tree | 72f6bcbbcf0042fe94e030ac31d9d50015bc5392 /doc/languages-frameworks/python.section.md | |
parent | 443cbd782c252a12c4bdaa1f8dc35d7bcee8900a (diff) | |
download | nixlib-eb60a878874c5f7af7e75d6e187ec10135aa9f0a.tar nixlib-eb60a878874c5f7af7e75d6e187ec10135aa9f0a.tar.gz nixlib-eb60a878874c5f7af7e75d6e187ec10135aa9f0a.tar.bz2 nixlib-eb60a878874c5f7af7e75d6e187ec10135aa9f0a.tar.lz nixlib-eb60a878874c5f7af7e75d6e187ec10135aa9f0a.tar.xz nixlib-eb60a878874c5f7af7e75d6e187ec10135aa9f0a.tar.zst nixlib-eb60a878874c5f7af7e75d6e187ec10135aa9f0a.zip |
python-docs: minor typo and grammar fixes
Diffstat (limited to 'doc/languages-frameworks/python.section.md')
-rw-r--r-- | doc/languages-frameworks/python.section.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index 410c8e20044f..93eb5af0f2cc 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -424,7 +424,7 @@ available. At some point you'll likely have multiple packages which you would like to be able to use in different projects. In order to minimise unnecessary -duplication we now look at how you can maintain yourself a repository with your +duplication we now look at how you can maintain a repository with your own packages. The important functions here are `import` and `callPackage`. ### Including a derivation using `callPackage` @@ -647,7 +647,7 @@ in python.withPackages(ps: [ps.blaze])).env The `buildPythonApplication` function is practically the same as `buildPythonPackage`. The difference is that `buildPythonPackage` by default prefixes the names of the packages with the version of the interpreter. -Because with an application we're not interested in multiple version the prefix is dropped. +Because this is irrelevant for applications, the prefix is omitted. #### `toPythonApplication` function @@ -1021,7 +1021,7 @@ If you need to change a package's attribute(s) from `configuration.nix` you coul }; ``` -`pythonPackages.zerobin` is now globally overriden. All packages and also the +`pythonPackages.zerobin` is now globally overridden. All packages and also the `zerobin` NixOS service use the new definition. Note that `python-super` refers to the old package set and `python-self` to the new, overridden version. |