Last active
April 29, 2016 03:32
-
-
Save spencerjanssen/e2115a24d94a7c817b4bac667c34f069 to your computer and use it in GitHub Desktop.
trying to override kernel patches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixpkgs.config.packageOverrides = | |
let kp = | |
let p = name: path: {patch = path; name = name;}; | |
in | |
[ pkgs.kernelPatches.bridge_stp_helper | |
(p "cam" /home/sjanssen/Downloads/debian/patches/surface-cam.patch) | |
(p "button" /home/sjanssen/Downloads/debian/patches/surface-button.patch) | |
(p "button-config" /home/sjanssen/Downloads/debian/patches/surface-button-config.patch) | |
(p "surface-lid" /home/sjanssen/Downloads/debian/patches/surface-lid.patch) | |
(p "surface-touchpad" /home/sjanssen/Downloads/debian/patches/surface-touchpad.patch) | |
]; | |
in pkgs: { | |
linux_4_4 = pkgs.linux_4_4.override { | |
kernelPatches = kp; | |
}; | |
linux_4_5 = pkgs.linux_4_5.override { | |
kernelPatches = kp; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment