summary refs log tree commit diff
path: root/pkgs/tools/X11
diff options
context:
space:
mode:
authorAlex Ivanov <gnidorah@users.noreply.github.com>2016-10-31 09:49:34 +0300
committerAlex Ivanov <gnidorah@users.noreply.github.com>2016-10-31 09:49:34 +0300
commitf8a17768cd6049c6dcc3251ed512504b5cac91f0 (patch)
tree5b9dae299c33575ecfb7b412bd5c07fbb7429282 /pkgs/tools/X11
parent1cb54a7dd0dc6527949ba889d7cffd979c444e73 (diff)
downloadnixlib-f8a17768cd6049c6dcc3251ed512504b5cac91f0.tar
nixlib-f8a17768cd6049c6dcc3251ed512504b5cac91f0.tar.gz
nixlib-f8a17768cd6049c6dcc3251ed512504b5cac91f0.tar.bz2
nixlib-f8a17768cd6049c6dcc3251ed512504b5cac91f0.tar.lz
nixlib-f8a17768cd6049c6dcc3251ed512504b5cac91f0.tar.xz
nixlib-f8a17768cd6049c6dcc3251ed512504b5cac91f0.tar.zst
nixlib-f8a17768cd6049c6dcc3251ed512504b5cac91f0.zip
bumblebee: remove long time obsolete substitution
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r--pkgs/tools/X11/bumblebee/default.nix7
1 files changed, 0 insertions, 7 deletions
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"'