nixpkgs/pkgs
Joachim Fasting 1414f90270
linuxPackages: remove kernelHeaders
User-space programs should not be using headers extracted from random
kernels, but should in fact use the headers that were used to build
libc; see e.g., this LKML posting by Linus Torvalds on the subject of
Linux API headers at [1].

What is more, the Linux API headers are supposed to be backwards
compatible[2], so there's really no good reason to have more than one
such package, namely the latest one required by a package in our tree.

That is, `kernelHeaders` is not only incorrect but serves no real
purpose: out-of-tree modules use the sources provided by `kernel.dev`;
user space should use `stdenv.cc.libc.linuxHeaders` or the top-level
`linuxHeaders` attribute.

Apart from klibc, nothing in nixpkgs used `linuxPackages.kernelHeaders`,
so the impact of this change is minimal.

[1]: http://lkml.iu.edu/hypermail/linux/kernel/0007.3/0587.html
[2]: https://www.kernel.org/doc/Documentation/kbuild/headers_install.txt
2016-04-19 14:45:40 +02:00
..
applications Merge pull request #14804 from bradediger/makemkv 2016-04-19 05:29:48 +02:00
build-support nix: Add a "dev" output 2016-04-18 21:13:18 +02:00
data geolite-legacy 2016-02-29 -> 2016-04-19 2016-04-19 12:30:12 +02:00
desktops kde5.kcolorchooser: init at 15.12.3 2016-04-18 16:28:59 -05:00
development Merge pull request #14625 from utdemir/master 2016-04-19 13:48:06 +02:00
games sdlmame: fix broken URLs (close #14814) 2016-04-19 11:40:49 +02:00
misc hplip : add openssl as buildInput 2016-04-18 13:47:15 +02:00
os-specific linuxPackages.klibc: use linuxHeaders 2016-04-19 14:45:36 +02:00
servers Merge pull request #14806 from rycee/fix/openxpki 2016-04-19 00:48:37 +03:00
shells fish: Reference correct output of glibc 2016-04-18 21:32:43 +03:00
stdenv bootstrap-tools-linux: Use tar without acl 2016-04-18 12:04:37 +02:00
test Merge branch 'master' into closure-size 2016-04-01 10:06:01 +02:00
tools nghttp2: 1.8.0 -> 1.9.2, unify with libnghttp2, and use multiple outputs 2016-04-18 21:13:18 +02:00
top-level linuxPackages: remove kernelHeaders 2016-04-19 14:45:40 +02:00