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 50e18a6402
commit 63a223e88b

View file

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