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