bumblebee: move to by-name

This commit is contained in:
awwpotato 2025-04-18 20:30:35 -07:00
parent 820988c9b4
commit 961d9ed409
No known key found for this signature in database
3 changed files with 10 additions and 14 deletions

View file

@ -30,7 +30,9 @@
xorgserver,
kmod,
xf86videonouveau,
nvidia_x11,
nvidia_x11 ? linuxPackages.nvidia_x11,
linuxPackages,
pkgsi686Linux,
virtualgl,
libglvnd,
automake111x,
@ -38,8 +40,13 @@
# 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.
# TODO: Confusing. Perhaps use "SubArch" instead of i686?
nvidia_x11_i686 ? null,
libglvnd_i686 ? null,
nvidia_x11_i686 ?
if stdenv.hostPlatform.system == "x86_64-linux" then
pkgsi686Linux.linuxPackages.nvidia_x11.override { libsOnly = true; }
else
null,
libglvnd_i686 ?
if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.libglvnd else null,
useDisplayDevice ? false,
extraNvidiaDeviceOptions ? "",
extraNouveauDeviceOptions ? "",

View file

@ -16565,17 +16565,6 @@ with pkgs;
if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.primusLib else null;
};
bumblebee = callPackage ../tools/X11/bumblebee {
nvidia_x11 = linuxPackages.nvidia_x11;
nvidia_x11_i686 =
if stdenv.hostPlatform.system == "x86_64-linux" then
pkgsi686Linux.linuxPackages.nvidia_x11.override { libsOnly = true; }
else
null;
libglvnd_i686 =
if stdenv.hostPlatform.system == "x86_64-linux" then pkgsi686Linux.libglvnd else null;
};
vlc-bin-universal = vlc-bin.override { variant = "universal"; };
libvlc = vlc.override {