about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-05-18 21:51:16 +0900
committerMatthieu Coudron <mattator@gmail.com>2020-06-06 17:33:41 +0200
commit2909dc9f3988551b5b31a89a162d825511fca5ca (patch)
tree4fd7929f5d4f251ffefb0265d249c7403cfecf88 /doc
parent404d057e89eb77099cd6ca8d50b79ccc52bb7914 (diff)
downloadnixlib-2909dc9f3988551b5b31a89a162d825511fca5ca.tar
nixlib-2909dc9f3988551b5b31a89a162d825511fca5ca.tar.gz
nixlib-2909dc9f3988551b5b31a89a162d825511fca5ca.tar.bz2
nixlib-2909dc9f3988551b5b31a89a162d825511fca5ca.tar.lz
nixlib-2909dc9f3988551b5b31a89a162d825511fca5ca.tar.xz
nixlib-2909dc9f3988551b5b31a89a162d825511fca5ca.tar.zst
nixlib-2909dc9f3988551b5b31a89a162d825511fca5ca.zip
builds
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/lua.section.md10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/languages-frameworks/lua.section.md b/doc/languages-frameworks/lua.section.md
index f11a1a5862ec..21fe3f21e092 100644
--- a/doc/languages-frameworks/lua.section.md
+++ b/doc/languages-frameworks/lua.section.md
@@ -72,7 +72,7 @@ For the sake of completeness, here's another example how to install the environm
 }
 ```
 
-### How to override a Python package using overlays?
+### How to override a Lua package using overlays?
 
 Use the following overlay template:
 
@@ -165,7 +165,7 @@ The Nix expressions for the interpreters can be found in `pkgs/development/inter
 Each interpreter has the following attributes:
 
 - `interpreter`. Alias for `${lua}/bin/lua`.
-- `buildEnv`. Function to build python interpreter environments with extra packages bundled together. See section *python.buildEnv function* for usage and documentation.
+- `buildEnv`. Function to build lua interpreter environments with extra packages bundled together. See section *lua.buildEnv function* for usage and documentation.
 - `withPackages`. Simpler interface to `buildEnv`.
 - `pkgs`. Set of Lua packages for that specific interpreter. The package set can be modified by overriding the interpreter and passing `packageOverrides`.
 
@@ -223,10 +223,8 @@ Because with an application we're not interested in multiple version the prefix
 
 #### lua.withPackages function
 
-The `lua.withPackages` function provides a simpler interface to the `python.buildEnv` functionality.
-It takes a function as an argument that is passed the set of python packages and returns the list
-of the packages to be included in the environment. Using the `withPackages` function, the previous
-example for the luafilesystem environment can be written like this:
+The `lua.withPackages` takes a function as an argument that is passed the set of lua packages and returns the list of packages to be included in the environment.
+Using the `withPackages` function, the previous example for the luafilesystem environment can be written like this:
 ```nix
 with import <nixpkgs> {};