lib: allow luaInline in lz.n map action

This commit is contained in:
Ching Pei Yang 2024-08-04 02:24:10 +02:00 committed by Pei Yang Ching
parent f5850432a8
commit 1b82b13dc7

View file

@ -94,9 +94,9 @@
};
rhs = mkOption {
type = nullOr str;
type = nullOr (either str luaInline);
default = null;
description = "Action to trigger";
description = "Action to trigger. luaInline code will be wrapped in a function.";
};
mode = mkOption {