mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03:00
replace subshell by code block...
..for now, because subshell break zfs creation
This commit is contained in:
parent
32f3730777
commit
63eca64653
@ -159,12 +159,12 @@ rec {
|
|||||||
test = lib.optionalString (config ? name) "${config.${name}}";
|
test = lib.optionalString (config ? name) "${config.${name}}";
|
||||||
in
|
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; }}
|
${diskoLib.defineHookVariables { inherit config options; }}
|
||||||
${config.preCreateHook}
|
${config.preCreateHook}
|
||||||
${attrs.default args}
|
${attrs.default args}
|
||||||
${config.postCreateHook}
|
${config.postCreateHook}
|
||||||
)
|
}
|
||||||
'';
|
'';
|
||||||
description = "Creation script";
|
description = "Creation script";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user