mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03:00
mount.devices: fix attribute not found error
This commit is contained in:
parent
88f56a0b64
commit
52b077dabb
@ -94,9 +94,9 @@ let {
|
|||||||
# attrValues returns values sorted by name. This is important, because it
|
# attrValues returns values sorted by name. This is important, because it
|
||||||
# ensures that "/" is processed before "/foo" etc.
|
# ensures that "/" is processed before "/foo" etc.
|
||||||
in ''
|
in ''
|
||||||
${concatStringsSep "\n" (attrValues z.luks)}
|
${optionalString (hasAttr "luks" z) concatStringsSep "\n" (attrValues z.luks)}
|
||||||
${concatStringsSep "\n" (attrValues z.lvm)}
|
${optionalString (hasAttr "lvm" z) concatStringsSep "\n" (attrValues z.lvm)}
|
||||||
${concatStringsSep "\n" (attrValues z.fs)}
|
${optionalString (hasAttr "luks" fs) concatStringsSep "\n" (attrValues z.fs)}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mount.luks = q: x: (
|
mount.luks = q: x: (
|
||||||
|
Loading…
Reference in New Issue
Block a user