From b66a6ce01b1aef4bfe947ac0bfc0128050289eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 11 May 2023 01:00:01 +0200 Subject: [PATCH] nixos/no-x-libs: gst_all_1.gst-plugins-base: disable wayland to disable GL GL was already participially disabled because X11 is disabled and lead to the following error when building gst-plguins-good: ``` Did not find CMake 'cmake' Found CMake: NO Run-time dependency gstreamer-gl-prototypes-1.0 found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency gstreamer-gl-prototypes-1.0 meson.build:328:2: ERROR: Neither a subproject directory nor a gst-plugins-base.wrap file was found. ``` --- nixos/modules/config/no-x-libs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/no-x-libs.nix b/nixos/modules/config/no-x-libs.nix index 0dce3b918458..d1d3aab413f9 100644 --- a/nixos/modules/config/no-x-libs.nix +++ b/nixos/modules/config/no-x-libs.nix @@ -39,7 +39,7 @@ with lib; graphviz = super.graphviz-nox; gst_all_1 = super.gst_all_1 // { gst-plugins-bad = super.gst_all_1.gst-plugins-bad.override { guiSupport = false; }; - gst-plugins-base = super.gst_all_1.gst-plugins-base.override { enableX11 = false; }; + gst-plugins-base = super.gst_all_1.gst-plugins-base.override { enableWayland = false; enableX11 = false; }; }; imagemagick = super.imagemagick.override { libX11Support = false; libXtSupport = false; }; imagemagickBig = super.imagemagickBig.override { libX11Support = false; libXtSupport = false; };