libva: Disable X support
This commit is contained in:
parent
0a3cdae3e5
commit
0a1fcf2060
1 changed files with 11 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
inherit (final) system;
|
inherit (final) system;
|
||||||
inherit (nixpkgs.lib.attrsets) genAttrs;
|
inherit (nixpkgs.lib.attrsets) genAttrs;
|
||||||
inherit (nixpkgs.lib.lists) remove;
|
inherit (nixpkgs.lib.lists) remove subtractLists;
|
||||||
inherit (nixpkgs.lib.strings) mesonBool mesonEnable;
|
inherit (nixpkgs.lib.strings) mesonBool mesonEnable;
|
||||||
inherit (self.lib) substituteFlags removePackages;
|
inherit (self.lib) substituteFlags removePackages;
|
||||||
|
|
||||||
|
@ -199,6 +199,16 @@ in genAttrs [
|
||||||
x11Support = false;
|
x11Support = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libva = prev.libva.overrideAttrs (prevAttrs: {
|
||||||
|
buildInputs = prevAttrs.buildInputs or [ ]
|
||||||
|
|> removePackages [ "libX.*" ];
|
||||||
|
|
||||||
|
meta = prevAttrs.meta or { } // {
|
||||||
|
pkgConfigModules = prevAttrs.meta.pkgConfigModules
|
||||||
|
|> subtractLists [ "libva-glx" "libva-x11" ];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
libGL = prev.libGL.overrideAttrs (prevAttrs: {
|
libGL = prev.libGL.overrideAttrs (prevAttrs: {
|
||||||
buildInputs = prevAttrs.buildInputs or [ ]
|
buildInputs = prevAttrs.buildInputs or [ ]
|
||||||
|> removePackages [ "libX.*" "xorgproto" ];
|
|> removePackages [ "libX.*" "xorgproto" ];
|
||||||
|
|
Loading…
Reference in a new issue