mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
example with-lib: remove traceValSeq
This commit is contained in:
1 parent
0d922a482d
commit
c3a7680451
1 file changed
+2
-2
@@ -1,6 +1,6 @@
|
||||
# Example to create a bios compatible gpt partition
|
||||
{ disks ? [ "/dev/vdb" ], lib, ... }: {
|
||||
disk = lib.traceValSeq (lib.genAttrs [ (lib.head disks) ] (device: {
|
||||
disk = lib.genAttrs [ (lib.head disks) ] (device: {
|
||||
device = device;
|
||||
type = "disk";
|
||||
content = {
|
||||
@@ -31,5 +31,5 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
}));
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user