Skip to content

Commit

Permalink
xcb-util-xrm: Fix 'lib.optional' usage
Browse files Browse the repository at this point in the history
That produces a list containing a singleton list containing libX11.
  • Loading branch information
dezgeg committed Aug 30, 2016
1 parent 8576332 commit c4521ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/servers/x11/xorg/xcb-util-xrm.nix
Expand Up @@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};

buildInputs = [ pkgconfig m4 libxcb xcbutil ]
++ stdenv.lib.optional doCheck [ libX11 ];
++ stdenv.lib.optional doCheck libX11;
doCheck = true;

meta = with stdenv.lib; {
Expand Down

0 comments on commit c4521ae

Please sign in to comment.