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 5f4dfb44e2
commit 9c1c2056f2

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 {