diff --git a/pkgs/servers/x11/xorg/xcb-util-xrm.nix b/pkgs/servers/x11/xorg/xcb-util-xrm.nix index c38d4e80143b..5a315b99b08b 100644 --- a/pkgs/servers/x11/xorg/xcb-util-xrm.nix +++ b/pkgs/servers/x11/xorg/xcb-util-xrm.nix @@ -10,9 +10,9 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig m4 ]; - buildInputs = [ libxcb xcbutil ] - ++ stdenv.lib.optional doCheck libX11; doCheck = true; + buildInputs = [ libxcb xcbutil ]; + checkInputs = [ libX11 ]; meta = with stdenv.lib; { description = "XCB utility functions for the X resource manager";