Mount nested partitions last
This commit is contained in:
parent
16ba58d6ea
commit
468df44b47
|
@ -307,7 +307,9 @@
|
||||||
(partPath _)
|
(partPath _)
|
||||||
(normalizePath "/${rootDir}/${_.mountPoint}")
|
(normalizePath "/${rootDir}/${_.mountPoint}")
|
||||||
])
|
])
|
||||||
(builtins.filter (_: _.mountPoint != null) partitions));
|
(lib.lists.sortOn
|
||||||
|
(_: builtins.stringLength _.mountPoint)
|
||||||
|
(builtins.filter (_: _.mountPoint != null) partitions)));
|
||||||
|
|
||||||
swapScript = lib.strings.concatLines (
|
swapScript = lib.strings.concatLines (
|
||||||
builtins.map
|
builtins.map
|
||||||
|
|
Loading…
Reference in a new issue