nixos/no-x-libs: use libva-minimal

The primary difference between the standard and minimal variants of
this package is that all the X libraries are removed from the minimal
variant.

I had to switch the order of the definitions in all-packages.nix to
avoid an infinite recursion after the overlay was applied.
This commit is contained in:
Alyssa Ross 2022-09-02 20:02:48 +00:00
parent 97a8e05ae5
commit 46b6619cb3
2 changed files with 3 additions and 2 deletions

View file

@ -31,6 +31,7 @@ with lib;
cairo = super.cairo.override { x11Support = false; };
dbus = super.dbus.override { x11Support = false; };
gobject-introspection = super.gobject-introspection.override { x11Support = false; };
libva = super.libva-minimal;
networkmanager-fortisslvpn = super.networkmanager-fortisslvpn.override { withGnome = false; };
networkmanager-iodine = super.networkmanager-iodine.override { withGnome = false; };
networkmanager-l2tp = super.networkmanager-l2tp.override { withGnome = false; };

View file

@ -20160,8 +20160,8 @@ with pkgs;
withUtils = false;
});
libva = callPackage ../development/libraries/libva { };
libva-minimal = libva.override { minimal = true; };
libva-minimal = callPackage ../development/libraries/libva { minimal = true; };
libva = libva-minimal.override { minimal = false; };
libva-utils = callPackage ../development/libraries/libva/utils.nix { };
libva1 = callPackage ../development/libraries/libva/1.nix { };