Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: da36847d925058fd86f027b64cc712c57be11ad8
      
https://github.com/NixOS/nixpkgs/commit/da36847d925058fd86f027b64cc712c57be11ad8
  Author: Charles Strahan <[email protected]>
  Date:   2016-10-11 (Tue, 11 Oct 2016)

  Changed paths:
    M lib/trivial.nix
    M nixos/modules/system/boot/kernel.nix
    M pkgs/top-level/all-packages.nix

  Log Message:
  -----------
  nixos: make it easy to apply kernel patches

This makes it easy to specify kernel patches:

    boot.kernelPatches = [ pkgs.kernelPatches.ubuntu_fan_4_4 ];

To make the `boot.kernelPatches` option possible, this also makes it
easy to extend and/or modify the kernel packages within a linuxPackages
set. For example:

    pkgs.linuxPackages.extend (self: super: {
      kernel = super.kernel.override {
  kernelPatches = super.kernel.kernelPatches ++ [
    pkgs.kernelPatches.ubuntu_fan_4_4
  ];
      };
    });

Closes #15095


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to