From 0e44ec09e603c6c4111a635d2ee8f8ed931787ef Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 13 May 2016 18:55:30 +0200 Subject: syntax --- hel.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/hel.nix b/hel.nix index 1feb4c1a..3a008190 100644 --- a/hel.nix +++ b/hel.nix @@ -42,12 +42,10 @@ }; nixpkgs.config = { - packageOverrides = pkgs: { - stdenv = pkgs.stdenv // { - platform = pkgs.stdenv.platform // { - kernelPatches = [ { patch = ./hel/wacom.patch; name = "wacom-fix"; } - ]; - }; + packageOverrides = super: let self = super.pkgs; in { + linux_4_5 = pkgs.linux_4_5.override { + kernelPatches = super.linux_4_5.kernelPatches ++ [ { patch = ./hel/wacom.patch; name = "wacom-fix"; } + ]; }; }; }; -- cgit v1.2.3