From f8a17768cd6049c6dcc3251ed512504b5cac91f0 Mon Sep 17 00:00:00 2001 From: Alex Ivanov Date: Mon, 31 Oct 2016 09:49:34 +0300 Subject: bumblebee: remove long time obsolete substitution --- pkgs/tools/X11/bumblebee/default.nix | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pkgs/tools/X11/bumblebee') diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix index ec279f56cd89..116a7a014eab 100644 --- a/pkgs/tools/X11/bumblebee/default.nix +++ b/pkgs/tools/X11/bumblebee/default.nix @@ -90,13 +90,6 @@ in stdenv.mkDerivation rec { ''; preConfigure = '' - # Substitute the path to the actual modinfo program in module.c. - # Note: module.c also calls rmmod and modprobe, but those just have to - # be in PATH, and thus no action for them is required. - - substituteInPlace src/module.c \ - --replace "/sbin/modinfo" "${kmod}/sbin/modinfo" - # Don't use a special group, just reuse wheel. substituteInPlace configure \ --replace 'CONF_GID="bumblebee"' 'CONF_GID="wheel"' -- cgit v1.2.3