sxmo: fix sxmo_hook_init.sh -> sxmo_hook_start.sh

This commit is contained in:
Colin 2023-09-05 17:31:33 +00:00
parent d1741c60dc
commit 51ecf1b54b
2 changed files with 3 additions and 2 deletions

View File

@ -106,7 +106,7 @@ in
sane.gui.sxmo.hooks = mkOption {
type = types.attrsOf types.path;
default = {
"sxmo_hook_init.sh" = ./hooks/sxmo_hook_init.sh;
"sxmo_hook_start.sh" = ./hooks/sxmo_hook_start.sh;
};
description = ''
extra hooks to add with higher priority than the builtins

View File

@ -159,7 +159,8 @@ let
options = {
inherit (propagatedGenerateMod.options) acl;
target = mkOption {
type = types.coercedTo types.path toString
# N.B.: `"${p}"` instead of `toString p` is critical in that it only evaluates if `p` is a path to an actual fs entry
type = types.coercedTo types.path (p: "${p}")
(types.coercedTo types.package toString types.str);
description = "fs path to link to";
};