Branch: refs/heads/master
  Commit: 09d349328255660c6e29d37d8e795b004e002226
  Author: aszlig <>
  Date:   2016-10-12 (Wed, 12 Oct 2016)

  Changed paths:
    M pkgs/top-level/all-packages.nix

  Log Message:
  buildLinux/linuxManualConfig: Allow .override

Regression introduced by da36847d925058fd86f027b64cc712c57be11ad8.

The kernelPackages NixOS module option now uses .override to add kernel
patches defined in boot.kernelPatches into the kernel within the
kernelPackages set.

For generic kernels, we already have an .override which comes with
callPackage, but pkgs.linuxManualConfig is a function where we want to
override the attributes passed to it.

The callPackage to manual-config.nix only allows us to override its
internal attributes but not the attributes of the function returned.

Simplified it looks like this:
                                 .----- .override provided by
                              __|__    callPackage
                             |     |
(callPackage .../manual-config.nix { ... }) { ... }
                            the one -----'
                            we actually want to override

Signed-off-by: aszlig <>

nix-commits mailing list

Reply via email to