treewide: Fix 'lib.optional' misuses
These add a singleton list of a package to buildInputs.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user