nixpkgs/pkgs/top-level
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
..
aliases.nix ncat: Remove old package, available in nmap 2016-03-30 08:53:22 +02:00
all-packages.nix linuxPackages: remove kernelHeaders 2016-04-19 14:45:40 +02:00
default.nix Fix comments typos. 2016-03-24 19:40:12 +00:00
dotnet-packages.nix Remove all dots at end of descriptions 2016-02-27 17:30:29 +00:00
emacs-packages.nix emacsPackages: remove outdated helm 2016-04-04 10:38:56 +08:00
go-packages.nix fzf: 0.11.1 -> 0.12.0 2016-04-18 16:48:41 -07:00
guile-2-test.nix Replace references to all-packages.nix, by references to the top-level of nixpkgs repository. 2016-03-13 18:25:52 +00:00
haskell-packages.nix Add LTS Haskell 5.12. 2016-04-14 09:17:55 +02:00
lua-packages.nix Merge staging into closure-size 2015-11-20 14:32:58 +01:00
make-tarball.nix Replace references to all-packages.nix, by references to the top-level of nixpkgs repository. 2016-03-13 18:25:52 +00:00
metrics.nix nixpkgs-metrics: Suppress build products 2016-03-24 18:06:46 +01:00
node-packages-generated.nix Add nodePackages.tern 2016-04-08 15:24:04 +02:00
node-packages.json Add nodePackages.tern 2016-04-08 15:24:04 +02:00
node-packages.nix bower2nix: 2.1.0 -> 3.0.1 2016-03-28 08:23:06 +01:00
perl-packages.nix perl-DBIx-Class-Schema-Loader: 0.07043 -> 0.07045 2016-04-17 17:17:39 +02:00
php-packages.nix phpPackages: init php56Packages and php70Packages 2016-01-08 21:35:36 +01:00
platforms.nix platforms.nix: Use bcm2835_defconfig for RPi kernelHeadersBaseConfig 2015-11-16 02:37:13 +02:00
pure-packages.nix Fairly complete set of packages for Pure 2015-05-26 17:51:07 +10:00
python-packages.nix pythonPackages.httplib2: 0.9.1 -> 0.9.2 2016-04-17 16:51:08 +02:00
release-cross.nix Disable system_tarball_pc and fix eval 2015-07-22 12:27:15 +02:00
release-lib.nix Replace references to all-packages.nix, by references to the top-level of nixpkgs repository. 2016-03-13 18:25:52 +00:00
release-python.nix Replace references to all-packages.nix, by references to the top-level of nixpkgs repository. 2016-03-13 18:25:52 +00:00
release-small.nix ncat: Remove old package, available in nmap 2016-03-30 08:53:22 +02:00
release.nix ncat: Remove old package, available in nmap 2016-03-30 08:53:22 +02:00
rust-packages.nix rustRegistry: expose src 2016-04-18 19:28:01 +02:00
stdenv.nix Move stdenvDefault into its own file. 2016-03-20 16:11:51 +00:00