mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 01:58:06 +00:00
top-level/linux-kernels.nix: add vendor kernels note
This codifies existing practice of avoiding adding new vendor kernels to Nixpkgs. Hopefully I've put this comment at the place in the file somebody hoping to add a new vendor kernel would be most likely to look.
This commit is contained in:
parent
0323e1f8ba
commit
aa6d3e6817
@ -57,6 +57,10 @@ in {
|
||||
kernels = recurseIntoAttrs (lib.makeExtensible (self: with self;
|
||||
let callPackage = newScope self; in {
|
||||
|
||||
# NOTE: PLEASE DO NOT ADD NEW VENDOR KERNELS TO NIXPKGS.
|
||||
# New vendor kernels should go to nixos-hardware instead.
|
||||
# e.g. https://github.com/NixOS/nixos-hardware/tree/master/microsoft/surface/kernel
|
||||
|
||||
linux_mptcp_95 = callPackage ../os-specific/linux/kernel/linux-mptcp-95.nix {
|
||||
kernelPatches = linux_4_19.kernelPatches;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user