From 605ee9e92b83554ef2e122c3ef254e4c3428cd00 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Tue, 14 Mar 2017 18:06:44 +0800 Subject: [PATCH] kmod-blacklist-ubuntu: do not blacklist i2c_i801 --- pkgs/os-specific/linux/kmod-blacklist-ubuntu/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kmod-blacklist-ubuntu/default.nix b/pkgs/os-specific/linux/kmod-blacklist-ubuntu/default.nix index 8154e37e3d5e..c96d17b7a624 100644 --- a/pkgs/os-specific/linux/kmod-blacklist-ubuntu/default.nix +++ b/pkgs/os-specific/linux/kmod-blacklist-ubuntu/default.nix @@ -16,6 +16,8 @@ in stdenv.mkDerivation { for f in modprobe.d/*.conf; do echo "''\n''\n## file: "`basename "$f"`"''\n''\n" >> "$out"/modprobe.conf cat "$f" >> "$out"/modprobe.conf + # https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1475945 + sed -i '/^blacklist i2c_801/d' $out/modprobe.conf done substituteInPlace "$out"/modprobe.conf \