wayland-protocols: only run tests with libwayland

This commit is contained in:
Alyssa Ross 2022-12-09 15:59:16 +00:00
parent 11dffd155d
commit 53b6c15df2
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0
2 changed files with 3 additions and 1 deletions

View file

@ -96,6 +96,8 @@ stdenv.mkDerivation rec {
EOF
'';
passthru = { inherit withLibraries; };
meta = with lib; {
description = "Core Wayland window system code and protocol";
longDescription = ''

View file

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
pname = "wayland-protocols";
version = "1.31";
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = stdenv.hostPlatform == stdenv.buildPlatform && wayland.withLibraries;
src = fetchurl {
url = "https://gitlab.freedesktop.org/wayland/${pname}/-/releases/${version}/downloads/${pname}-${version}.tar.xz";