xcb-util-xrm: Fix 'lib.optional' usage

That produces a list containing a singleton list containing libX11.
This commit is contained in:
Tuomas Tynkkynen 2016-08-30 16:28:02 +03:00
parent 8576332fdf
commit c4521aeffa

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ pkgconfig m4 libxcb xcbutil ] buildInputs = [ pkgconfig m4 libxcb xcbutil ]
++ stdenv.lib.optional doCheck [ libX11 ]; ++ stdenv.lib.optional doCheck libX11;
doCheck = true; doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {