mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/qemu-vm: Fix condition in requiredKernelConfig
'optional' just takes a single item rather than a list
This commit is contained in:
parent
214af51225
commit
ef5268bcab
1 changed files with 1 additions and 1 deletions
|
@ -751,7 +751,7 @@ in
|
|||
(isYes "NET_CORE")
|
||||
(isYes "INET")
|
||||
(isYes "NETWORK_FILESYSTEMS")
|
||||
] ++ optional (!cfg.graphics) [
|
||||
] ++ optionals (!cfg.graphics) [
|
||||
(isYes "SERIAL_8250_CONSOLE")
|
||||
(isYes "SERIAL_8250")
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue