mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
generateLuarocksConfig: add defaults to ease its usage
This commit is contained in:
parent
c2676d1f74
commit
54ca335a15
@ -82,11 +82,11 @@ rec {
|
||||
};
|
||||
*/
|
||||
generateLuarocksConfig = {
|
||||
externalDeps
|
||||
externalDeps ? []
|
||||
# a list of lua derivations
|
||||
, requiredLuaRocks
|
||||
, requiredLuaRocks ? []
|
||||
, extraVariables ? {}
|
||||
, rocksSubdir
|
||||
, rocksSubdir ? "rocks-subdir"
|
||||
}: let
|
||||
rocksTrees = lib.imap0
|
||||
(i: dep: {
|
||||
|
Loading…
Reference in New Issue
Block a user