mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
example with-lib: remove traceValSeq
This commit is contained in:
parent
0d922a482d
commit
c3a7680451
1 changed files with 2 additions and 2 deletions
|
@ -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 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue