Use concatMapStrings

This commit is contained in:
Rua authored and Jörg Thalheim committed 2025-02-15 01:27:47 +00:00
1 parent 54be8abff0
commit bf440582c4
1 file changed
+2 -2
+2 -2
View File
@@ -210,7 +210,7 @@ in
if ! blkid "${config.device}" >&2; then
sgdisk --clear "${config.device}"
fi
${lib.concatStrings (map (partition:
${lib.concatMapStrings (partition:
let
args = ''
--partition-guid="${toString partition._index}:${if partition.uuid == null then "R" else partition.uuid}" \
@@ -234,7 +234,7 @@ in
udevadm trigger --subsystem-match=block
udevadm settle
''
) sortedPartitions)}
) sortedPartitions}
${
lib.optionalString (sortedHybridPartitions != [])