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
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
++ optional withGssapiPatches gssapiSrc;
buildInputs = [ zlib openssl libedit pkgconfig pam ]
++ optional withKerberos [ kerberos ];
++ optional withKerberos kerberos;
# I set --disable-strip because later we strip anyway. And it fails to strip
# properly when cross building.