frame: Fix 'lib.optional' use

Produces a list-of-lists in buildInputs
This commit is contained in:
Tuomas Tynkkynen 2016-08-30 20:02:30 +03:00
parent d2ef0577c5
commit e08599567a

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [
stdenv pkgconfig
] ++ stdenv.lib.optional enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
] ++ stdenv.lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
configureFlags = stdenv.lib.optional enableX11 "--with-x11";
@ -21,4 +21,4 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
};
}
}