bumblebee: remove long time obsolete substitution

This commit is contained in:
Alex Ivanov 2016-10-31 09:49:34 +03:00
parent 1cb54a7dd0
commit f8a17768cd

View file

@ -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"'