treewide: Fix more 'lib.optional' misuses

This commit is contained in:
Tuomas Tynkkynen
2016-10-01 23:47:19 +03:00
parent 4059854351
commit eda2dd3d2f
5 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
++ lib.optional withTeXLive (texlive.combine { inherit (texlive) scheme-small; })
++ lib.optional withLua lua
++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
++ lib.optional withQt [ qt ]
++ lib.optional withQt qt
# compiling with wxGTK causes a malloc (double free) error on darwin
++ lib.optional (withWxGTK && !stdenv.isDarwin) wxGTK;