From e8be4586364ef27ab941e751e311122dc370c741 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 13 May 2016 19:20:09 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hel.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hel.nix b/hel.nix index d8925780..6e7c7723 100644 --- a/hel.nix +++ b/hel.nix @@ -43,11 +43,12 @@ nixpkgs.config = { packageOverrides = super: let self = super.pkgs; in rec { - linux = pkgs.linux.override { - kernelPatches = super.linux.kernelPatches ++ [ { patch = ./hel/wacom.patch; name = "wacom-fix"; } - ]; + linuxPackages = super.linuxPackages // { + kernel = super.linuxPackages.kernel.override { + kernelPatches = super.linux.kernelPatches ++ [ { patch = ./hel/wacom.patch; name = "wacom-fix"; } + ]; + }; }; - linuxPackages = pkgs.linuxPackagesFor linux pkgs.linuxPackages; }; }; -- cgit v1.2.3