replace subshell by code block...

..for now, because subshell break zfs creation
This commit is contained in:
phaer 2023-01-14 23:04:31 +01:00
parent 32f3730777
commit 63eca64653

View File

@ -159,12 +159,12 @@ rec {
test = lib.optionalString (config ? name) "${config.${name}}";
in
''
( # ${config.type} ${concatMapStringsSep " " (n: toString (config.${n} or "")) ["name" "device" "format" "mountpoint"]}
{ # ${config.type} ${concatMapStringsSep " " (n: toString (config.${n} or "")) ["name" "device" "format" "mountpoint"]}
${diskoLib.defineHookVariables { inherit config options; }}
${config.preCreateHook}
${attrs.default args}
${config.postCreateHook}
)
}
'';
description = "Creation script";
};