mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
Revert "try an anonymous function for namespacing..."
This reverts commit 6390d835025eb36a81bd2b97dcd1a5746e07ebfe.
This commit is contained in:
1 parent
21e31af678
commit
32f3730777
1 file changed
+2
-2
@@ -159,12 +159,12 @@ rec {
|
||||
test = lib.optionalString (config ? name) "${config.${name}}";
|
||||
in
|
||||
''
|
||||
function { # ${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";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user