Skip to content

Commit

Permalink
buildLuarocksPackage: rename file to match its role
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Jul 10, 2023
1 parent b3bbad8 commit 34b3a80
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/languages-frameworks/lua.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Each interpreter has the following attributes:

#### `buildLuarocksPackage` function {#buildluarockspackage-function}

The `buildLuarocksPackage` function is implemented in `pkgs/development/interpreters/lua-5/build-lua-package.nix`
The `buildLuarocksPackage` function is implemented in `pkgs/development/interpreters/lua-5/build-luarocks-package.nix`
The following is an example:
```nix
luaposix = buildLuarocksPackage {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/lua-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let

buildLuaApplication = args: buildLuarocksPackage ({ namePrefix = ""; } // args);

buildLuarocksPackage = lib.makeOverridable (callPackage ../development/interpreters/lua-5/build-lua-package.nix { });
buildLuarocksPackage = lib.makeOverridable (callPackage ../development/interpreters/lua-5/build-luarocks-package.nix { });

luaLib = callPackage ../development/lua-modules/lib.nix { };

Expand Down

0 comments on commit 34b3a80

Please sign in to comment.