treewide: Fix 'lib.optional' misuses

These add a singleton list of a package to buildInputs.
This commit is contained in:
Tuomas Tynkkynen
2016-10-01 23:38:06 +03:00
parent c61cc2d56c
commit 5bf5de58ea
14 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ makeWrapper perl LWP URI HTMLParser ]
++ stdenv.lib.optional doCheck [ HTTPServerSimple Parent ];
++ stdenv.lib.optionals doCheck [ HTTPServerSimple Parent ];
configurePhase = ''
for i in swec tests/{runTests,testServer}