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