Skip to content

Commit

Permalink
linux: Don't try to install firmware on newer kernels.
Browse files Browse the repository at this point in the history
This was disabled in torvalds/linux@5620a0d
  • Loading branch information
shlevy committed Feb 19, 2018
1 parent 7cb7d2a commit bd7d5b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/os-specific/linux/kernel/manual-config.nix
Expand Up @@ -79,7 +79,8 @@ let
isModular = config.isYes "MODULES";

installsFirmware = (config.isEnabled "FW_LOADER") &&
(isModular || (config.isDisabled "FIRMWARE_IN_KERNEL"));
(isModular || (config.isDisabled "FIRMWARE_IN_KERNEL")) &&
(stdenv.lib.versionOlder version "4.14");
in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // {
passthru = {
inherit version modDirVersion config kernelPatches configfile
Expand Down

0 comments on commit bd7d5b3

Please sign in to comment.