mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
Use Linux 4.15 kernel headers for RISC-V support.
This commit is contained in:
parent
3bec781288
commit
1d493f6171
@ -12942,7 +12942,7 @@ with pkgs;
|
||||
|
||||
inherit (callPackages ../os-specific/linux/kernel-headers { })
|
||||
linuxHeaders_4_4 linuxHeaders_4_15;
|
||||
linuxHeaders = if hostPlatform.isMusl then linuxHeaders_4_15 else linuxHeaders_4_4;
|
||||
linuxHeaders = if hostPlatform.isMusl || hostPlatform.isRiscV then linuxHeaders_4_15 else linuxHeaders_4_4;
|
||||
|
||||
kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user