summary refs log tree commit diff
path: root/pkgs/development/libraries/apr-util/default.nix
diff options
context:
space:
mode:
authorRok Garbas <rok@garbas.si>2015-06-05 15:50:14 +0200
committerRok Garbas <rok@garbas.si>2015-06-12 12:17:12 +0200
commit7c67c350a3cd1d3074efb826f70d5017d2f28cf8 (patch)
treeea2b952b09888c771b3db44875f00f1c07c69e4f /pkgs/development/libraries/apr-util/default.nix
parentd5087119c63ce8820c564e392ddb8e3c1865855e (diff)
downloadnixpkgs-7c67c350a3cd1d3074efb826f70d5017d2f28cf8.tar
nixpkgs-7c67c350a3cd1d3074efb826f70d5017d2f28cf8.tar.gz
nixpkgs-7c67c350a3cd1d3074efb826f70d5017d2f28cf8.tar.bz2
nixpkgs-7c67c350a3cd1d3074efb826f70d5017d2f28cf8.tar.lz
nixpkgs-7c67c350a3cd1d3074efb826f70d5017d2f28cf8.tar.xz
nixpkgs-7c67c350a3cd1d3074efb826f70d5017d2f28cf8.tar.zst
nixpkgs-7c67c350a3cd1d3074efb826f70d5017d2f28cf8.zip
cygwin: turn off ldap and crypt for apr-util to make it build
Diffstat (limited to 'pkgs/development/libraries/apr-util/default.nix')
-rw-r--r--pkgs/development/libraries/apr-util/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/apr-util/default.nix b/pkgs/development/libraries/apr-util/default.nix
index 0f21af94c64..bceb10e3355 100644
--- a/pkgs/development/libraries/apr-util/default.nix
+++ b/pkgs/development/libraries/apr-util/default.nix
@@ -1,7 +1,7 @@
 { stdenv, fetchurl, makeWrapper, apr, expat, gnused
 , sslSupport ? true, openssl
 , bdbSupport ? false, db
-, ldapSupport ? true, openldap
+, ldapSupport ? !stdenv.isCygwin, openldap
 , libiconv
 }:
 
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
 
   configureFlags = ''
     --with-apr=${apr} --with-expat=${expat}
-    --with-crypto
+    ${if !stdenv.isCygwin then "--with-crypto" else "--without-pgsql --without-sqlite2 --without-sqlite3 --without-freetds --without-berkeley-db --without-crypto"}
     ${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"}
     ${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db}"}
     ${stdenv.lib.optionalString ldapSupport "--with-ldap"}