shadowsocks-libev: Fix 'lib.optional' use

Produces buildInputs having lists of lists.
This commit is contained in:
Tuomas Tynkkynen 2016-08-30 18:48:43 +03:00
parent 810135363e
commit 3a762ef967
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt ] buildInputs = [ zlib asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt ]
++ optional (!withMbedTLS) openssl ++ optional (!withMbedTLS) openssl
++ optional withMbedTLS mbedtls ++ optional withMbedTLS mbedtls
++ optional enableSystemSharedLib [libev libsodium udns]; ++ optionals enableSystemSharedLib [libev libsodium udns];
configureFlags = optional withMbedTLS configureFlags = optional withMbedTLS
[ "--with-crypto-library=mbedtls" [ "--with-crypto-library=mbedtls"