Unverified Commit baeb7fb7 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #222547 from wegank/wayland-protocols-darwin

wayland-protocols: do not check with a non-BFD linker
parents 7f6581a5 7b93912f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
  pname = "wayland-protocols";
  version = "1.31";

  doCheck = stdenv.hostPlatform == stdenv.buildPlatform && wayland.withLibraries;
  # https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/48
  doCheck = stdenv.hostPlatform == stdenv.buildPlatform && stdenv.targetPlatform.linker == "bfd" && wayland.withLibraries;

  src = fetchurl {
    url = "https://gitlab.freedesktop.org/wayland/${pname}/-/releases/${version}/downloads/${pname}-${version}.tar.xz";