linuxPackages.virtualboxGuestAdditions: fix build after xorg 1.20

We still need to force the ABI version to 118 it seems.
Close https://github.com/NixOS/nixpkgs/pull/53867
This commit is contained in:
Vladimír Čunát 2019-01-13 10:38:32 +01:00
parent 61b8c03a78
commit 626233eee6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -11,7 +11,7 @@ let
# (not via videoDrivers = ["vboxvideo"]).
# It's likely to work again in some future update.
xserverABI = let abi = xserverVListFunc 0 + xserverVListFunc 1;
in if abi == "119" then "118" else abi;
in if abi == "119" || abi == "120" then "118" else abi;
in
stdenv.mkDerivation {