mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
doc: add note on adding a single Lua package
This commit is contained in:
parent
354e62f75f
commit
a3414fc47e
1 changed files with 8 additions and 0 deletions
|
|
@ -162,6 +162,14 @@ the package `luarocks-packages-updater`:
|
|||
nix-shell -p luarocks-packages-updater --run luarocks-packages-updater
|
||||
```
|
||||
|
||||
To add a new package without updating all packages, run
|
||||
|
||||
```sh
|
||||
|
||||
nix-shell -p luarocks-packages-updater
|
||||
luarocks-packages-updater add <package-name>
|
||||
```
|
||||
|
||||
[luarocks2nix](https://github.com/nix-community/luarocks) is a tool capable of generating nix derivations from both rockspec and src.rock (and favors the src.rock).
|
||||
The automation only goes so far though and some packages need to be customized.
|
||||
These customizations go in [pkgs/development/lua-modules/overrides.nix](https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/lua-modules/overrides.nix).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue