tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
cygwin: apr-util now also building on cygwin
Rok Garbas
10 years ago
dbdc9eee
4b661693
+4
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
apr-util
default.nix
+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"}
0
30
'';
31
32
propagatedBuildInputs = [ makeWrapper apr expat libiconv ]
···
9
assert bdbSupport -> db != null;
10
assert ldapSupport -> openldap != null;
11
12
+
with stdenv.lib;
0
0
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 ]