forked from mirrors/nixpkgs
shadowsocks-libev: Fix 'lib.optional' use
Produces buildInputs having lists of lists.
This commit is contained in:
parent
810135363e
commit
3a762ef967
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue