ChromiumOS kernel option fixup
commit9d03355bedb392910f8cd3fcae5891f728c7051e
authorAl Zohali <zohl@fmap.me>
dateMon 7 Mar 2016, 18:00 (11 years ago)
parent0ee7521
pkgs/os-specific/linux/kernel/common-config.nix+3−1
@@ -478,7 +478,9 @@ with stdenv.lib;
478478 ''}
479479 ${optionalString (versionAtLeast version "3.7") ''
480480 MEDIA_USB_SUPPORT y
481− MEDIA_PCI_SUPPORT y
481+ ${optionalString (!(features.chromiumos or false)) ''
482+ MEDIA_PCI_SUPPORT y
483+ ''}
482484 ''}
483485
484486 # Our initrd init uses shebang scripts, so can't be modular.