mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 07:14:52 +00:00
wayland-protocols: only run tests with libwayland
This commit is contained in:
parent
11dffd155d
commit
53b6c15df2
@ -96,6 +96,8 @@ stdenv.mkDerivation rec {
|
||||
EOF
|
||||
'';
|
||||
|
||||
passthru = { inherit withLibraries; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core Wayland window system code and protocol";
|
||||
longDescription = ''
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user