···5 version = virtualbox.version;
6 xserverVListFunc = builtins.elemAt (lib.splitVersion xorg.xorgserver.version);
78- # Forced to 1.18 in <nixpkgs/nixos/modules/services/x11/xserver.nix>
9- # as it even fails to build otherwise. Still, override this even here,
10- # in case someone does just a standalone build
11- # (not via videoDrivers = ["vboxvideo"]).
12- # It's likely to work again in some future update.
13- xserverABI = let abi = xserverVListFunc 0 + xserverVListFunc 1;
14- in if abi == "119" || abi == "120" then "118" else abi;
1516 # Specifies how to patch binaries to make sure that libraries loaded using
17 # dlopen are found. We grep binaries for specific library names and patch
···5 version = virtualbox.version;
6 xserverVListFunc = builtins.elemAt (lib.splitVersion xorg.xorgserver.version);
78+ # Forced to 1.18; vboxvideo doesn't seem to provide any newer ABI,
9+ # and nixpkgs doesn't support older ABIs anymore.
10+ xserverABI = "118";
00001112 # Specifies how to patch binaries to make sure that libraries loaded using
13 # dlopen are found. We grep binaries for specific library names and patch