diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-04-22 10:40:57 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-04-22 10:40:57 +0300 |
commit | 01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8 (patch) | |
tree | 50d9531f27e58ce9dcbea28b5b42a375beeeda73 /pkgs/tools/X11/bumblebee/default.nix | |
parent | d99eaf005c1f21fb190fb2aa3f8b2f63218829d8 (diff) | |
download | nixpkgs-01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8.tar nixpkgs-01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8.tar.gz nixpkgs-01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8.tar.bz2 nixpkgs-01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8.tar.lz nixpkgs-01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8.tar.xz nixpkgs-01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8.tar.zst nixpkgs-01854a850a7e62c6a4f1de7c4ca0f1c9d89841c8.zip |
treewide: Replace module_init_tools -> kmod
The former is deprecated and doesn't handle compressed kernel modules, so all current usages of it are broken.
Diffstat (limited to 'pkgs/tools/X11/bumblebee/default.nix')
-rw-r--r-- | pkgs/tools/X11/bumblebee/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix index d1f2318d6d4..803fd0dd850 100644 --- a/pkgs/tools/X11/bumblebee/default.nix +++ b/pkgs/tools/X11/bumblebee/default.nix @@ -18,7 +18,7 @@ { stdenv, lib, fetchurl, pkgconfig, help2man, makeWrapper , glib, libbsd -, libX11, libXext, xorgserver, xkbcomp, module_init_tools, xkeyboard_config, xf86videonouveau +, libX11, libXext, xorgserver, xkbcomp, kmod, xkeyboard_config, xf86videonouveau , nvidia_x11, virtualgl, primusLib # The below should only be non-null in a x86_64 system. On a i686 # system the above nvidia_x11 and virtualgl will be the i686 packages. @@ -43,7 +43,7 @@ let nvidiaLibs = lib.makeLibraryPath nvidia_x11s; - bbdPath = lib.makeBinPath [ module_init_tools xorgserver ]; + bbdPath = lib.makeBinPath [ kmod xorgserver ]; bbdLibs = lib.makeLibraryPath [ libX11 libXext ]; xmodules = lib.concatStringsSep "," (map (x: "${x}/lib/xorg/modules") ([ xorgserver ] ++ lib.optional (!useNvidia) xf86videonouveau)); @@ -80,7 +80,7 @@ in stdenv.mkDerivation rec { # be in PATH, and thus no action for them is required. substituteInPlace src/module.c \ - --replace "/sbin/modinfo" "${module_init_tools}/sbin/modinfo" + --replace "/sbin/modinfo" "${kmod}/sbin/modinfo" # Don't use a special group, just reuse wheel. substituteInPlace configure \ |