3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

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