Skip to content

Commit

Permalink
bumblebee: add xf86inputmouse to x11 modules
Browse files Browse the repository at this point in the history
Without this the X11 server would fail to start with the error:

```(EE) Failed to load module "mouse" (module does not exist, 0)```
  • Loading branch information
abmantis committed Jan 24, 2024
1 parent 5293187 commit 16dfb10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/tools/X11/bumblebee/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

{ stdenv, lib, fetchurl, fetchpatch, pkg-config, help2man, makeWrapper
, glib, libbsd
, libX11, xorgserver, kmod, xf86videonouveau
, libX11, xorgserver, kmod, xf86videonouveau, xf86inputmouse
, nvidia_x11, virtualgl, libglvnd
, automake111x, autoconf
# The below should only be non-null in a x86_64 system. On a i686
Expand All @@ -42,7 +42,7 @@ let

bbdPath = lib.makeBinPath [ kmod xorgserver ];

xmodules = lib.concatStringsSep "," (map (x: "${x.out or x}/lib/xorg/modules") ([ xorgserver ] ++ lib.optional (!useNvidia) xf86videonouveau));
xmodules = lib.concatStringsSep "," (map (x: "${x.out or x}/lib/xorg/modules") ([ xorgserver xf86inputmouse] ++ lib.optional (!useNvidia) xf86videonouveau));

modprobePatch = fetchpatch {
url = "https://github.com/Bumblebee-Project/Bumblebee/commit/1ada79fe5916961fc4e4917f8c63bb184908d986.patch";
Expand Down

0 comments on commit 16dfb10

Please sign in to comment.