Order mount commands by their path
This commit is contained in:
parent
468df44b47
commit
ea908b5255
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@
|
||||||
(normalizePath "/${rootDir}/${_.mountPoint}")
|
(normalizePath "/${rootDir}/${_.mountPoint}")
|
||||||
])
|
])
|
||||||
(lib.lists.sortOn
|
(lib.lists.sortOn
|
||||||
(_: builtins.stringLength _.mountPoint)
|
(_: normalizePath "/${_.mountPoint}")
|
||||||
(builtins.filter (_: _.mountPoint != null) partitions)));
|
(builtins.filter (_: _.mountPoint != null) partitions)));
|
||||||
|
|
||||||
swapScript = lib.strings.concatLines (
|
swapScript = lib.strings.concatLines (
|
||||||
|
|
Loading…
Reference in a new issue