lol

cygwin: apr-util now also building on cygwin

+4 -5
+4 -5
pkgs/development/libraries/apr-util/default.nix
··· 9 assert bdbSupport -> db != null; 10 assert ldapSupport -> openldap != null; 11 12 - let 13 - optional = stdenv.lib.optional; 14 - in 15 16 stdenv.mkDerivation rec { 17 name = "apr-util-1.5.4"; ··· 23 24 configureFlags = '' 25 --with-apr=${apr} --with-expat=${expat} 26 - ${if !stdenv.isCygwin then "--with-crypto" else "--without-pgsql --without-sqlite2 --without-sqlite3 --without-freetds --without-berkeley-db --without-crypto"} 27 ${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"} 28 ${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db}"} 29 - ${stdenv.lib.optionalString ldapSupport "--with-ldap"} 30 ''; 31 32 propagatedBuildInputs = [ makeWrapper apr expat libiconv ]
··· 9 assert bdbSupport -> db != null; 10 assert ldapSupport -> openldap != null; 11 12 + with stdenv.lib; 13 14 stdenv.mkDerivation rec { 15 name = "apr-util-1.5.4"; ··· 21 22 configureFlags = '' 23 --with-apr=${apr} --with-expat=${expat} 24 + ${optionalString (!stdenv.isCygwin) "--with-crypto"} 25 ${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"} 26 ${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db}"} 27 + ${stdenv.lib.optionalString ldapSupport "--with-ldap"}${ 28 + optionalString stdenv.isCygwin "--without-pgsql --without-sqlite2 --without-sqlite3 --without-freetds --without-berkeley-db --without-crypto"} 29 ''; 30 31 propagatedBuildInputs = [ makeWrapper apr expat libiconv ]