* Use 'or'.
This commit is contained in:
parent
2cf1cbf2fe
commit
59aca26975
@ -291,7 +291,7 @@ rec {
|
|||||||
args = ["-e" (vmRunCommand qemuCommandLinux)];
|
args = ["-e" (vmRunCommand qemuCommandLinux)];
|
||||||
origArgs = attrs.args;
|
origArgs = attrs.args;
|
||||||
origBuilder = attrs.builder;
|
origBuilder = attrs.builder;
|
||||||
QEMU_OPTS = "-m ${toString (if attrs ? memSize then attrs.memSize else 512)}";
|
QEMU_OPTS = "-m ${toString (attrs.memSize or 512)}";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user