mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
Use concatMapStrings
This commit is contained in:
1 parent
54be8abff0
commit
bf440582c4
1 file changed
+2
-2
+2
-2
@@ -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 != [])
|
||||
|
||||
Reference in new issue
Block a user