nvidiabl: fix for kernel >= 4 (close #10174)

This commit is contained in:
Renzo Carbonara
2015-10-02 12:31:37 +02:00
committed by Vladimír Čunát
parent 9e33e2365e
commit 4902ec1c78
2 changed files with 24 additions and 0 deletions
@@ -8,6 +8,8 @@ stdenv.mkDerivation {
sha256 = "1c7ar39wc8jpqh67sw03lwnyp0m9l6dad469ybqrgcywdiwxspwj";
};
patches = [ ./linux4compat.patch ];
preConfigure = ''
sed -i 's|/sbin/depmod|#/sbin/depmod|' Makefile
'';