sxmo: fix sxmo_hook_init.sh -> sxmo_hook_start.sh
This commit is contained in:
parent
d1741c60dc
commit
51ecf1b54b
|
@ -106,7 +106,7 @@ in
|
||||||
sane.gui.sxmo.hooks = mkOption {
|
sane.gui.sxmo.hooks = mkOption {
|
||||||
type = types.attrsOf types.path;
|
type = types.attrsOf types.path;
|
||||||
default = {
|
default = {
|
||||||
"sxmo_hook_init.sh" = ./hooks/sxmo_hook_init.sh;
|
"sxmo_hook_start.sh" = ./hooks/sxmo_hook_start.sh;
|
||||||
};
|
};
|
||||||
description = ''
|
description = ''
|
||||||
extra hooks to add with higher priority than the builtins
|
extra hooks to add with higher priority than the builtins
|
||||||
|
|
|
@ -159,7 +159,8 @@ let
|
||||||
options = {
|
options = {
|
||||||
inherit (propagatedGenerateMod.options) acl;
|
inherit (propagatedGenerateMod.options) acl;
|
||||||
target = mkOption {
|
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);
|
(types.coercedTo types.package toString types.str);
|
||||||
description = "fs path to link to";
|
description = "fs path to link to";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user