treewide: Make more complicated configureFlags lists

This commit is contained in:
John Ericson 2018-07-25 17:44:21 -04:00
parent 632d24f11f
commit 85a9913edd
27 changed files with 193 additions and 190 deletions

View file

@ -15,13 +15,12 @@ stdenv.mkDerivation rec {
buildInputs = [ alsaLib libjack2 fftw ]; buildInputs = [ alsaLib libjack2 fftw ];
configureFlags = '' configureFlags = [
--enable-alsa "--enable-alsa"
--enable-jack "--enable-jack"
--enable-fftw "--enable-fftw"
--disable-portaudio "--disable-portaudio"
];
'';
# https://github.com/pure-data/pure-data/issues/188 # https://github.com/pure-data/pure-data/issues/188
# --disable-oss # --disable-oss

View file

@ -32,11 +32,11 @@ in stdenv.mkDerivation rec {
outputs = [ "out" "info" ]; outputs = [ "out" "info" ];
configureFlags = '' configureFlags = [
--sysconfdir=/etc "--sysconfdir=/etc"
${optionalString (!enableNls) "--disable-nls"} (stdenv.lib.enableFeature enableNls "nls")
${optionalString enableTiny "--enable-tiny"} (stdenv.lib.enableFeature enableTiny "tiny")
''; ];
postInstall = '' postInstall = ''
cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/ cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/

View file

@ -40,10 +40,10 @@ stdenv.mkDerivation rec {
preConfigure = "sh autogen.sh"; preConfigure = "sh autogen.sh";
configureFlags = '' configureFlags = [
--enable-nls "--enable-nls"
--enable-safe-mode "--enable-safe-mode"
''; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A fast, lightweight terminal emulator"; description = "A fast, lightweight terminal emulator";

View file

@ -17,14 +17,14 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ perl procps fftw.dev ]; nativeBuildInputs = [ perl procps fftw.dev ];
buildInputs = [ libyaml gfortran libxc openblas gsl fftw.out netcdf arpack ]; buildInputs = [ libyaml gfortran libxc openblas gsl fftw.out netcdf arpack ];
configureFlags = '' configureFlags = [
--with-yaml-prefix=${libyaml} "--with-yaml-prefix=${libyaml}"
--with-blas=-lopenblas "--with-blas=-lopenblas"
--with-lapack=-lopenblas "--with-lapack=-lopenblas"
--with-fftw-prefix=${fftwAll} "--with-fftw-prefix=${fftwAll}"
--with-gsl-prefix=${gsl} "--with-gsl-prefix=${gsl}"
--with-libxc-prefix=${libxc} "--with-libxc-prefix=${libxc}"
''; ];
doCheck = false; doCheck = false;
checkTarget = "check-short"; checkTarget = "check-short";

View file

@ -42,17 +42,19 @@ let
# https://gcc.gnu.org/gcc-5/porting_to.html # https://gcc.gnu.org/gcc-5/porting_to.html
CPPFLAGS = "-P"; CPPFLAGS = "-P";
configureFlags = '' configureFlags = [
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"} (stdenv.lib.withFeature bdbSupport "berkeley-db")
${if httpServer then "--with-apxs=${apacheHttpd.dev}/bin/apxs" else "--without-apxs"} (stdenv.lib.withFeatureAs httpServer "apxs" "${apacheHttpd.dev}/bin/apxs")
${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"} (stdenv.lib.withFeatureAs (pythonBindings || perlBindings) "swig" swig)
${if javahlBindings then "--enable-javahl --with-jdk=${jdk}" else ""} (stdenv.lib.withFeatureAs saslSupport "sasl" sasl)
--disable-keychain (stdenv.lib.withFeatureAs httpSupport "serf" serf)
${if saslSupport then "--with-sasl=${sasl}" else "--without-sasl"} "--disable-keychain"
${if httpSupport then "--with-serf=${serf}" else "--without-serf"} "--with-zlib=${zlib.dev}"
--with-zlib=${zlib.dev} "--with-sqlite=${sqlite.dev}"
--with-sqlite=${sqlite.dev} ] ++ stdenv.lib.optionals javahlBindings [
''; "--enable-javahl"
"--with-jdk=${jdk}"
];
preBuild = '' preBuild = ''
makeFlagsArray=(APACHE_LIBEXECDIR=$out/modules) makeFlagsArray=(APACHE_LIBEXECDIR=$out/modules)

View file

@ -32,9 +32,9 @@ in stdenv.mkDerivation rec {
buildInputs = [ intltool glib gtk ncurses ] ++ buildInputs = [ intltool glib gtk ncurses ] ++
stdenv.lib.optionals pythonSupport [python pygtk]; stdenv.lib.optionals pythonSupport [python pygtk];
configureFlags = '' configureFlags = [
${if pythonSupport then "--enable-python" else "--disable-python"} (stdenv.lib.enableFeature pythonSupport "python")
''; ];
postInstall = stdenv.lib.optionalString pythonSupport '' postInstall = stdenv.lib.optionalString pythonSupport ''
cd $(toPythonPath $out)/gtk-2.0 cd $(toPythonPath $out)/gtk-2.0

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ scheme48 ]; buildInputs = [ scheme48 ];
configureFlags = ''--with-scheme48=${scheme48}''; configureFlags = [ "--with-scheme48=${scheme48}" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A Scheme shell"; description = "A Scheme shell";

View file

@ -12,9 +12,9 @@ stdenv.mkDerivation {
buildInputs = [ pcre ]; buildInputs = [ pcre ];
configureFlags = '' configureFlags = [
--enable-namespace --enable-flexible-member "--enable-namespace" "--enable-flexible-member"
''; ];
meta = { meta = {
homepage = http://www.cs.wisc.edu/condor/classad/; homepage = http://www.cs.wisc.edu/condor/classad/;

View file

@ -26,9 +26,13 @@ stdenv.mkDerivation rec {
patch -p1 < ${./darwin.patch} patch -p1 < ${./darwin.patch}
''; '';
configureFlags = '' configureFlags = [
--disable-examples --enable-failing-tests --localstatedir=/var --disable-gtk-doc --disable-docbook "--disable-examples"
''; "--enable-failing-tests"
"--localstatedir=/var"
"--disable-gtk-doc"
"--disable-docbook"
];
postInstall = '' postInstall = ''
# Hm, apparently --disable-gtk-doc is ignored... # Hm, apparently --disable-gtk-doc is ignored...

View file

@ -14,9 +14,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ directfb libsigcxx libxml2 fontconfig ]; buildInputs = [ directfb libsigcxx libxml2 fontconfig ];
configureFlags = '' configureFlags = [
--enable-log-debug --enable-debug --enable-trace --with-examples "--enable-log-debug"
''; "--enable-debug"
"--enable-trace"
"--with-examples"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Lightweight C++ GUI toolkit for embedded Linux systems"; description = "Lightweight C++ GUI toolkit for embedded Linux systems";

View file

@ -7,7 +7,6 @@
, libintl }: , libintl }:
let let
edf = flag: feature: (if flag then "--with-" else "--without-") + feature;
optional = cond: elem: assert cond -> elem != null; if cond then [elem] else []; optional = cond: elem: assert cond -> elem != null; if cond then [elem] else [];
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -28,14 +27,14 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [ gnutls ]; propagatedBuildInputs = [ gnutls ];
configureFlags = '' configureFlags = [
${if documentation then "--enable-gtk-doc" else "--disable-gtk-doc"} (stdenv.lib.enableFeature documentation "gtk-doc")
${edf gtkWidgets "inftextgtk"} (stdenv.lib.withFeature gtkWidgets "inftextgtk")
${edf gtkWidgets "infgtk"} (stdenv.lib.withFeature gtkWidgets "infgtk")
${edf daemon "infinoted"} (stdenv.lib.withFeature daemon "infinoted")
${edf daemon "libdaemon"} (stdenv.lib.withFeature daemon "libdaemon")
${edf avahiSupport "avahi"} (stdenv.lib.withFeature avahiSupport "avahi")
''; ];
passthru = { passthru = {
inherit version; inherit version;

View file

@ -28,13 +28,12 @@ stdenv.mkDerivation rec {
buildInputs = [libxml2 openssl] buildInputs = [libxml2 openssl]
++ stdenv.lib.optional compressionSupport zlib; ++ stdenv.lib.optional compressionSupport zlib;
configureFlags = '' configureFlags = [
${if shared then "--enable-shared" else "--disable-shared"} (stdenv.lib.enableFeature shared "shared")
${if static then "--enable-static" else "--disable-static"} (stdenv.lib.enableFeature static "static")
${if compressionSupport then "--with-zlib" else "--without-zlib"} (stdenv.lib.withFeature compressionSupport "zlib")
${if sslSupport then "--with-ssl" else "--without-ssl"} (stdenv.lib.withFeature sslSupport "ssl")
--enable-shared ];
'';
passthru = {inherit compressionSupport sslSupport;}; passthru = {inherit compressionSupport sslSupport;};

View file

@ -28,13 +28,12 @@ stdenv.mkDerivation rec {
buildInputs = [libxml2 openssl] buildInputs = [libxml2 openssl]
++ stdenv.lib.optional compressionSupport zlib; ++ stdenv.lib.optional compressionSupport zlib;
configureFlags = '' configureFlags = [
${if shared then "--enable-shared" else "--disable-shared"} (stdenv.lib.enableFeature shared "shared")
${if static then "--enable-static" else "--disable-static"} (stdenv.lib.enableFeature static "static")
${if compressionSupport then "--with-zlib" else "--without-zlib"} (stdenv.lib.withFeature compressionSupport "zlib")
${if sslSupport then "--with-ssl" else "--without-ssl"} (stdenv.lib.withFeature sslSupport "ssl")
--enable-shared ];
'';
passthru = {inherit compressionSupport sslSupport;}; passthru = {inherit compressionSupport sslSupport;};

View file

@ -34,13 +34,13 @@ stdenv.mkDerivation rec {
ln -s $i private_headers/generic; ln -s $i private_headers/generic;
done; done;
''; '';
configureFlags = '' configureFlags = [
--with-tclinclude=${tcl}/include "--with-tclinclude=${tcl}/include"
--with-tclconfig=. "--with-tclconfig=."
--with-tkinclude=${tk.dev}/include "--with-tkinclude=${tk.dev}/include"
--with-tkconfig=. "--with-tkconfig=."
--libdir=''${prefix}/lib "--libdir=\${prefix}/lib"
''; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A widget library for Tcl/Tk"; description = "A widget library for Tcl/Tk";

View file

@ -1,12 +1,9 @@
{ stdenv, fetchurl, ncurses { stdenv, fetchurl, ncurses
, withLibrary ? false, libtool , withLibrary ? false, libtool
, unicodeSupport ? true , unicodeSupport ? true
, enableShared ? !stdenv.isDarwin
}: }:
let optStr = stdenv.lib.optionalString;
buildShared = !stdenv.isDarwin;
in
assert withLibrary -> libtool != null; assert withLibrary -> libtool != null;
assert unicodeSupport -> ncurses.unicode && ncurses != null; assert unicodeSupport -> ncurses.unicode && ncurses != null;
@ -24,14 +21,14 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
configureFlags = '' configureFlags = [
--disable-rpath-hacks "--disable-rpath-hacks"
${optStr withLibrary "--with-libtool"} (stdenv.lib.withFeature withLibrary "libtool")
--with-libtool-opts=${optStr buildShared "-shared"} "--with-ncurses${stdenv.lib.optionalString unicodeSupport "w"}"
--with-ncurses${optStr unicodeSupport "w"} "--with-libtool-opts=${stdenv.lib.optionalString enableShared "-shared"}"
''; ];
installTargets = "install${optStr withLibrary "-full"}"; installTargets = "install${stdenv.lib.optionalString withLibrary "-full"}";
meta = { meta = {
homepage = http://invisible-island.net/dialog/dialog.html; homepage = http://invisible-island.net/dialog/dialog.html;

View file

@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
sha256 = "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"; sha256 = "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm";
}; };
configureFlags = '' configureFlags = [
${if (optLibffado != null) then "--enable-firewire" else ""} (stdenv.lib.enableFeature (optLibffado != null) "firewire")
''; ];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ optAlsaLib optDb optLibffado optCelt ]; buildInputs = [ optAlsaLib optDb optLibffado optCelt ];

View file

@ -8,9 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "0gfcyj5anckjn030wcxx5v2xk2s219nyf99s9m833275b5wz2piw"; sha256 = "0gfcyj5anckjn030wcxx5v2xk2s219nyf99s9m833275b5wz2piw";
}; };
configureFlags = '' configureFlags = [
--with-hotplug-dir=$(out)/lib/firmware "--with-hotplug-dir=$(out)/lib/firmware"
''; ];
dontStrip = true; dontStrip = true;

View file

@ -28,19 +28,19 @@ stdenv.mkDerivation rec {
# fix build with newer gcc versions # fix build with newer gcc versions
preConfigure = ''substituteInPlace configure --replace "-Werror" "" ''; preConfigure = ''substituteInPlace configure --replace "-Werror" "" '';
configureFlags = '' configureFlags = [
--sysconfdir=/etc --localstatedir=/var "--sysconfdir=/etc --localstatedir=/var"
--with-kernel-headers=${linuxHeaders}/include "--with-kernel-headers=${linuxHeaders}/include"
--disable-security-context "--disable-security-context"
--enable-adminport "--enable-adminport"
--enable-dpd "--enable-dpd"
--enable-frag "--enable-frag"
--enable-gssapi "--enable-gssapi"
--enable-hybrid "--enable-hybrid"
--enable-natt "--enable-natt"
--enable-shared "--enable-shared"
--enable-stats "--enable-stats"
''; ];
meta = { meta = {
homepage = http://ipsec-tools.sourceforge.net/; homepage = http://ipsec-tools.sourceforge.net/;

View file

@ -18,10 +18,10 @@ stdenv.mkDerivation rec {
export NIX_LDFLAGS="$NIX_LDFLAGS -lmnl -lnftnl" export NIX_LDFLAGS="$NIX_LDFLAGS -lmnl -lnftnl"
''; '';
configureFlags = '' configureFlags = [
--enable-devel "--enable-devel"
--enable-shared "--enable-shared"
''; ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View file

@ -47,26 +47,32 @@ stdenv.mkDerivation rec {
configureFlags="$configureFlags --includedir=$dev/include" configureFlags="$configureFlags --includedir=$dev/include"
''; '';
configureFlags = '' configureFlags = [
--with-apr=${apr.dev} "--with-apr=${apr.dev}"
--with-apr-util=${aprutil.dev} "--with-apr-util=${aprutil.dev}"
--with-z=${zlib.dev} "--with-z=${zlib.dev}"
--with-pcre=${pcre.dev} "--with-pcre=${pcre.dev}"
--disable-maintainer-mode "--disable-maintainer-mode"
--disable-debugger-mode "--disable-debugger-mode"
--enable-mods-shared=all "--enable-mods-shared=all"
--enable-mpms-shared=all "--enable-mpms-shared=all"
--enable-cern-meta "--enable-cern-meta"
--enable-imagemap "--enable-imagemap"
--enable-cgi "--enable-cgi"
${optionalString brotliSupport "--enable-brotli --with-brotli=${brotli}"} (stdenv.lib.enableFeature proxySupport "proxy")
${optionalString proxySupport "--enable-proxy"} (stdenv.lib.enableFeature sslSupport "ssl")
${optionalString sslSupport "--enable-ssl"} (stdenv.lib.withFeatureAs libxml2Support "libxml2" "${libxml2.dev}/include/libxml2")
${optionalString http2Support "--enable-http2 --with-nghttp2"} "--docdir=$(doc)/share/doc"
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
${optionalString libxml2Support "--with-libxml2=${libxml2.dev}/include/libxml2"} (stdenv.lib.enableFeature brotliSupport "brotli")
--docdir=$(doc)/share/doc (stdenv.lib.withFeatureAs brotliSupport "brotli" brotli)
'';
(stdenv.lib.enableFeature http2Support "http2")
(stdenv.lib.withFeature http2Support "nghttp2")
(stdenv.lib.enableFeature luaSupport "lua")
(stdenv.lib.withFeatureAs luaSupport "lua" lua5)
];
enableParallelBuilding = true; enableParallelBuilding = true;

View file

@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
If you wish to ignore this error pass --enable-js-trunk to ./configure. If you wish to ignore this error pass --enable-js-trunk to ./configure.
*/ */
configureFlags = '' configureFlags = [
--enable-js-trunk "--enable-js-trunk"
''; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API"; description = "A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API";

View file

@ -27,11 +27,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
configureFlags = '' configureFlags = [
--with-alsa --with-pipe --with-pulseaudio --with-stdout "--with-alsa" "--with-pipe" "--with-pulseaudio" "--with-stdout"
--with-avahi --with-ssl=openssl --with-soxr "--with-avahi" "--with-ssl=openssl" "--with-soxr"
--without-configfiles --without-initscript "--without-configfiles" "--without-initscript"
''; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit (src.meta) homepage; inherit (src.meta) homepage;

View file

@ -21,12 +21,12 @@ stdenv.mkDerivation rec {
buildInputs = [ gettext autoconf automake libtool bison flex which buildInputs = [ gettext autoconf automake libtool bison flex which
subversion makeWrapper readline libftdi libusb python3 ]; subversion makeWrapper readline libftdi libusb python3 ];
configureFlags = '' configureFlags = [
${if svfSupport then "--enable-svf" else "--disable-svf"} (stdenv.lib.enableFeature svfSupport "svf")
${if bsdlSupport then "--enable-bsdl" else "--disable-bsdl"} (stdenv.lib.enableFeature bsdlSupport "bsdl")
${if staplSupport then "--enable-stapl" else "--disable-stapl"} (stdenv.lib.enableFeature staplSupport "stapl")
${if jedecSupport then "--enable-jedec-exp" else "--disable-jedec-exp"} (stdenv.lib.enableFeature jedecSupport "jedec-exp")
''; ];
preConfigure = "./autogen.sh"; preConfigure = "./autogen.sh";

View file

@ -8,10 +8,7 @@
assert httpServer -> libpng != null; assert httpServer -> libpng != null;
assert client -> libX11 != null; assert client -> libX11 != null;
with stdenv; with stdenv;
let
# Enable/Disable Feature
edf = enabled: flag: if enabled then "--enable-" + flag else "--disable-" + flag;
in
mkDerivation rec { mkDerivation rec {
name = "aMule-2.3.2"; name = "aMule-2.3.2";
@ -27,15 +24,15 @@ mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
configureFlags = '' configureFlags = [
--with-crypto-prefix=${cryptopp} "--with-crypto-prefix=${cryptopp}"
--disable-debug "--disable-debug"
--enable-optimize "--enable-optimize"
${edf monolithic "monolithic"} (stdenv.lib.enableFeature monolithic "monolithic")
${edf daemon "amule-daemon"} (stdenv.lib.enableFeature daemon "amule-daemon")
${edf client "amule-gui"} (stdenv.lib.enableFeature client "amule-gui")
${edf httpServer "webserver"} (stdenv.lib.enableFeature httpServer "webserver")
''; ];
postConfigure = '' postConfigure = ''
sed -i "src/libs/ec/file_generator.pl" \ sed -i "src/libs/ec/file_generator.pl" \

View file

@ -20,10 +20,11 @@ stdenv.mkDerivation rec {
''; '';
buildInputs = [ lzo openssl zlib yacc flex ]; buildInputs = [ lzo openssl zlib yacc flex ];
configureFlags = '' configureFlags = [
--with-lzo-headers=${lzo}/include/lzo "--with-lzo-headers=${lzo}/include/lzo"
--with-ssl-headers=${openssl.dev}/include/openssl "--with-ssl-headers=${openssl.dev}/include/openssl"
--with-blowfish-headers=${openssl.dev}/include/openssl''; "--with-blowfish-headers=${openssl.dev}/include/openssl"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption"; description = "Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, lib { stdenv, fetchFromGitHub, autoreconfHook
, libpcap, texinfo , libpcap, texinfo
, iptables , iptables
, gnupgSupport ? true, gnupg, gpgme # Increases dependencies! , gnupgSupport ? true, gnupg, gpgme # Increases dependencies!
@ -23,21 +23,18 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional gnupgSupport [ gnupg gpgme.dev ] ++ stdenv.lib.optional gnupgSupport [ gnupg gpgme.dev ]
++ stdenv.lib.optional wgetSupport [ wget ]; ++ stdenv.lib.optional wgetSupport [ wget ];
configureFlags = '' configureFlags = [
--sysconfdir=/etc "--sysconfdir=/etc"
--localstatedir=/run "--localstatedir=/run"
--with-iptables=${iptables}/sbin/iptables "--with-iptables=${iptables}/sbin/iptables"
${lib.optionalString (!buildServer) "--disable-server"} (stdenv.lib.enableFeature buildServer "server")
${lib.optionalString (!buildClient) "--disable-client"} (stdenv.lib.enableFeature buildClient "client")
${lib.optionalString gnupgSupport '' (stdenv.lib.withFeatureAs wgetSupport wget "${wget}/bin/wget")
--with-gpgme ] ++ stdenv.lib.optionalString gnupgSupport [
--with-gpgme-prefix=${gpgme.dev} "--with-gpgme"
--with-gpg=${gnupg} "--with-gpgme-prefix=${gpgme.dev}"
''} "--with-gpg=${gnupg}"
${lib.optionalString wgetSupport '' ];
--with-wget=${wget}/bin/wget
''}
'';
# Temporary hack to copy the example configuration files into the nix-store, # Temporary hack to copy the example configuration files into the nix-store,
# this'll probably be helpful until there's a NixOS module for that (feel free # this'll probably be helpful until there's a NixOS module for that (feel free

View file

@ -22,17 +22,17 @@ stdenv.mkDerivation rec {
buildInputs = [ curl apacheHttpd pcre apr aprutil libxml2 ] ++ buildInputs = [ curl apacheHttpd pcre apr aprutil libxml2 ] ++
optional luaSupport lua5; optional luaSupport lua5;
configureFlags = '' configureFlags = [
--enable-standalone-module "--enable-standalone-module"
--enable-static "--enable-static"
--with-curl=${curl.dev} "--with-curl=${curl.dev}"
--with-apxs=${apacheHttpd.dev}/bin/apxs "--with-apxs=${apacheHttpd.dev}/bin/apxs"
--with-pcre=${pcre.dev} "--with-pcre=${pcre.dev}"
--with-apr=${apr.dev} "--with-apr=${apr.dev}"
--with-apu=${aprutil.dev}/bin/apu-1-config "--with-apu=${aprutil.dev}/bin/apu-1-config"
--with-libxml=${libxml2.dev} "--with-libxml=${libxml2.dev}"
--with-lua=${luaValue} "--with-lua=${luaValue}"
''; ];
outputs = ["out" "nginx"]; outputs = ["out" "nginx"];
# by default modsecurity's install script copies compiled output to httpd's modules folder # by default modsecurity's install script copies compiled output to httpd's modules folder