summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-18 00:12:40 -0500
committerShea Levy <shea@shealevy.com>2018-02-18 00:12:40 -0500
commit1d493f6171e9a84a3ff7c77745230a7c3910217e (patch)
treedcc38383159c972e128654d7cfd2932039604bcb /pkgs
parent3bec7812887923fc3c0c7ab804196c1e086f2acd (diff)
downloadnixpkgs-1d493f6171e9a84a3ff7c77745230a7c3910217e.tar
nixpkgs-1d493f6171e9a84a3ff7c77745230a7c3910217e.tar.gz
nixpkgs-1d493f6171e9a84a3ff7c77745230a7c3910217e.tar.bz2
nixpkgs-1d493f6171e9a84a3ff7c77745230a7c3910217e.tar.lz
nixpkgs-1d493f6171e9a84a3ff7c77745230a7c3910217e.tar.xz
nixpkgs-1d493f6171e9a84a3ff7c77745230a7c3910217e.tar.zst
nixpkgs-1d493f6171e9a84a3ff7c77745230a7c3910217e.zip
Use Linux 4.15 kernel headers for RISC-V support.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/all-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 0c262e43a69..cf8d8d6d5e9 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -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 { };