From 10e1037ad76cc55bf242ad9119470533212114dd Mon Sep 17 00:00:00 2001 From: phaer Date: Sun, 15 Jan 2023 12:51:23 +0100 Subject: [PATCH] Revert "replace subshell by code block..." This reverts commit 9628475f870cafc470dd7ad7b829b60f1b649861. --- types.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types.nix b/types.nix index ebe7365..1476ca7 100644 --- a/types.nix +++ b/types.nix @@ -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"; };