mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03:00
Revert "replace subshell by code block..."
This reverts commit 9628475f870cafc470dd7ad7b829b60f1b649861.
This commit is contained in:
parent
63eca64653
commit
10e1037ad7
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user